You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a new user gets the activate your account email with the setpassword link in it, they can sometimes double-click on the hyperlink.
The first click silently activates the account and the second click tries to validate immediately after and an error is thrown, sending folks off to the activateAccountFailurePath config setting and leading to lots of end user confusion.
This happens because UsersController::_processTokenRequest() (which is used by both actionSetPassword and actionVerifyPassword), will immediately check to see if there is a logged in user and if so, log them out first.
Description
When a new user gets the activate your account email with the setpassword link in it, they can sometimes double-click on the hyperlink.
The first click silently activates the account and the second click tries to validate immediately after and an error is thrown, sending folks off to the
activateAccountFailurePath
config setting and leading to lots of end user confusion.This happens because
UsersController::_processTokenRequest()
(which is used by bothactionSetPassword
andactionVerifyPassword
), will immediately check to see if there is a logged in user and if so, log them out first.Similar to #1421
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: