Conversation
…login page) Setting a new password via the emailed reset link used to redirect to /auth/login/reset/1, forcing the user to type the credentials they just set. Now: - Tiger_Service_Authentication::resetPassword() returns the user_id + username on success. - AuthController::resetAction() establishes the session and redirects to the role home with pwreset=1 (for a "password set — you're now logged in" toast); falls back to the old login bounce only if the session can't be established. - The reset form carries a username field (autocomplete=username), filled from the response before navigation, so the browser offers to save the new password. NOTE: the dismissable toast on the destination (pwreset=1) still needs a small global handler, and the browser save-password modal behaviour wants a real-browser check — both are UI follow-ups on top of this core behavioural fix. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ASauLLscjqdsNqBNsx2Typ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
After setting a new password via the emailed reset link, log the user straight into their dashboard instead of bouncing them to
/auth/login/reset/1to re-type the credentials they just set.Changes
Tiger_Service_Authentication::resetPassword()returnsuser_id+usernameon success.AuthController::resetAction()establishes the session and redirects to the role home withpwreset=1; falls back to the old login bounce only if the session can't be established.usernamefield (autocomplete=username), filled from the response before navigation, so the browser can offer to save the new password.Follow-ups (UI, need a browser)
pwreset=1is already passed; needs a small global handler).Part of the TigerHosting account-setup batch (TIGER-266/267/268/269).
🤖 Generated with Claude Code
https://claude.ai/code/session_01ASauLLscjqdsNqBNsx2Typ