Skip to content
Unverified Commit a7cc8c86 authored by Christoph Wurst's avatar Christoph Wurst
Browse files

Redirect to 2FA selection screen

Apps like 'rainloop' use \OCP\Util::isLoggedIn() to check whether the
current request is authenticated. Since we redirected to the index
page before, it resulted in an infinite redirection loop. This change
sets the redirection URL to the 2FA selection page, which is the only
allowed page in that authentication state.

Fixes https://github.com/nextcloud/server/issues/3702



Signed-off-by: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
parent 455542d3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment