discourse/app/controllers/users
David Taylor 198c960b52
FIX: Handle staged users as unregistered users for external auth (#12567)
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.
2021-03-31 13:40:58 +01:00
..
associate_accounts_controller.rb DEV: Introduce :before_auth DiscourseEvent (#11233) 2020-11-13 14:41:54 +00:00
omniauth_callbacks_controller.rb FIX: Handle staged users as unregistered users for external auth (#12567) 2021-03-31 13:40:58 +01:00