mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 15:05:24 +08:00
198c960b52
For 'local logins', the UX for staged users is designed to be identical to unregistered users. However, staged users logging in via external auth were being automatically unstaged, and skipping the registration/invite flow. In the past this made sense because the registration/invite flows didn't work perfectly with external auth. Now, both registration and invites work well with external auth, so it's best to leave the 'unstage' logic to those endpoints. This problem was particularly noticeable when using the 'bulk invite' feature to invite users with pre-configured User Fields. In that situation, staged user accounts are used to preserve the user field data. |
||
---|---|---|
.. | ||
associate_accounts_controller.rb | ||
omniauth_callbacks_controller.rb |