Skip to content

fix: redirect unconfirmed password login to confirmation - #6

Merged
ivankuznetsov merged 1 commit into
mainfrom
fix/unconfirmed-login-redirect
Sep 15, 2026
Merged

ivankuznetsov merged 1 commit into
mainfrom
fix/unconfirmed-login-redirect

Conversation

@ivankuznetsov

Copy link
Copy Markdown
Owner

Summary

A correct password for an unconfirmed account now leads to the confirmation form with the email prefilled, giving the user a direct way to request another confirmation link. The account stays signed out until confirmation; opening the form does not send mail. Incorrect passwords still show the login error.

Related Issues

User-reported login flow; no tracker issue.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have updated the CHANGELOG.md under [Unreleased]

Validation: bin/ci passed (155 tests, 348 assertions; 60 Ruby files lint clean). Six new controller/view tests cover the redirect, email prefill, no sign-in or mail, incorrect passwords, confirmed accounts, and confirmation-disabled accounts. The host Rails app's authentication integration suite also passed (19 tests, 148 assertions). Independent auth review found no actionable issues.

@ivankuznetsov
ivankuznetsov merged commit 4f05b46 into main Sep 15, 2026
5 checks passed
@ivankuznetsov ivankuznetsov mentioned this pull request Sep 15, 2026
6 of 9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant