server/tests/Core/Middleware
Christoph Wurst 6af2efb679
prevent infinite redirect loops if the there is no 2fa provider to pass
This fixes infinite loops that are caused whenever a user is about to solve a 2FA
challenge, but the provider app is disabled at the same time. Since the session
value usually indicates that the challenge needs to be solved before we grant access
we have to remove that value instead in this special case.
2016-08-24 10:49:23 +02:00
..
TwoFactorMiddlewareTest.php prevent infinite redirect loops if the there is no 2fa provider to pass 2016-08-24 10:49:23 +02:00