discourse/lib/middleware
David Taylor c7c56af397
FEATURE: Allow connecting associated accounts when two-factor is enabled (#6754)
Previously the 'reconnect' process was a bit magic - IF you were already logged into discourse, and followed the auth flow, your account would be reconnected and you would be 'logged in again'.

Now, we explicitly check for a reconnect=true parameter when the flow is started, store it in the session, and then only follow the reconnect logic if that variable is present. Setting this parameter also skips the 'logged in again' step, which means reconnect now works with 2fa enabled.
2018-12-11 13:19:00 +00:00
..
anonymous_cache.rb FIX: error in response body to blocked crawlers, showing 500 Internal Server Error with status of 403 2018-09-14 15:40:20 -04:00
discourse_public_exceptions.rb FIX: stop logging every time invalid params are sent 2018-10-05 14:33:19 +10:00
enforce_hostname.rb SECURITY: enforce hostname to match discourse hostname 2018-11-15 15:23:06 +11:00
missing_avatars.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
omniauth_bypass_middleware.rb FEATURE: Allow connecting associated accounts when two-factor is enabled (#6754) 2018-12-11 13:19:00 +00:00
request_tracker.rb FIX: exec_params needs instrumentation 2018-12-10 14:28:10 +11:00
turbo_dev.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00