From 0e88b519d1e285e4fb104cb1623bd6f520157d1d Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 16 Nov 2016 16:33:56 +0100 Subject: [PATCH] fix warning with token login Signed-off-by: Robin Appelman --- lib/private/User/Session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php index 6033f060504..a45b1dcd10f 100644 --- a/lib/private/User/Session.php +++ b/lib/private/User/Session.php @@ -529,7 +529,7 @@ class Session implements IUserSession, Emitter { $this->manager->emit('\OC\User', 'postLogin', array($user, $password)); if ($this->isLoggedIn()) { - $this->prepareUserLogin(); + $this->prepareUserLogin(false); // token login cant be the first } else { // injecting l10n does not work - there is a circular dependency between session and \OCP\L10N\IFactory $message = \OC::$server->getL10N('lib')->t('Login canceled by app'); -- 2.39.5