[openstreetmap/openstreetmap-website] Re-arrange login and signup screens as discussed in #4128 (PR #4455)
Tom Hughes
notifications at github.com
Fri Apr 26 19:38:55 UTC 2024
@tomhughes commented on this pull request.
> @@ -101,14 +107,9 @@ def create
if current_user.invalid?
# Something is wrong with a new user, so rerender the form
render :action => "new"
- elsif current_user.auth_provider.present?
- # Verify external authenticator before moving on
- session[:new_user] = current_user.slice("email", "display_name", "pass_crypt", "pass_crypt_confirmation")
Then what? What happens to a user with an auth provider of `fred` recorded in the database that causes a problem? Other than that they can't login until they do a password reset if they didn't chose a password when creating the account.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4455#discussion_r1581463525
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4455/review/2025753318 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240426/617b1dfe/attachment-0001.htm>
More information about the rails-dev
mailing list