nextcloud/lib/private/legacy
Christoph Wurst a7cc8c86ab
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: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-04-03 14:31:57 +02:00
..
db Adding file, line, class and function to the query logger (#27298) 2017-03-19 23:39:51 -06:00
group Cleanup not used legacy classes 2017-03-03 00:31:33 -06:00
l10n Fix more tests 2016-10-28 22:16:28 +02:00
ocs Cleanup not used legacy classes 2017-03-03 00:31:33 -06:00
template Fix preview URLs 2016-11-08 16:39:13 +01:00
user Fix others 2016-07-21 18:13:57 +02:00
api.php prevent infinite redirect loops if the there is no 2fa provider to pass 2016-08-24 10:49:23 +02:00
app.php Don't spam the log with "Undefined index showInHeader" 2017-03-27 10:24:10 +02:00
db.php Kill update simulation 2016-09-27 18:43:53 +02:00
defaults.php also rename defaultMailHeaderColor to defaultColorPrimary 2017-03-29 18:23:23 +02:00
eventsource.php Update with robin 2016-07-21 18:13:58 +02:00
filechunking.php Update with robin 2016-07-21 18:13:58 +02:00
files.php HTTP 1.1 used when giving 403 and 404 errors while attempting to download non-existent file 2017-03-19 23:14:26 -06:00
helper.php Revert "cache the storage info for 5 min" 2017-02-16 11:58:45 -06:00
hook.php Update with robin 2016-07-21 18:13:58 +02:00
image.php Test is a file is a valid jpg file 2017-03-08 21:48:30 +01:00
json.php Remove deprecated OC_User::isLoggedIn 2017-03-02 22:59:39 +01:00
response.php Merge pull request #4127 from nextcloud/update-legacy-csp-policy 2017-03-28 17:47:32 -06:00
template.php Merge JS for template prepend 2017-03-24 20:37:13 +01:00
user.php Remove legacy class OC_Group and OC_User 2017-03-09 17:35:09 -06:00
util.php Redirect to 2FA selection screen 2017-04-03 14:31:57 +02:00