diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-12-11 14:01:48 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-12-13 16:58:16 +0100 |
commit | f26ba5846d6859714e2f32f8f3625e57855ea703 (patch) | |
tree | 253a7a8f162c5bd0c9052452037218588ad1735d /lib/base.php | |
parent | dcfda5c2a9e4877af106b484783b2e676ecdee07 (diff) | |
download | nextcloud-server-f26ba5846d6859714e2f32f8f3625e57855ea703.tar.gz nextcloud-server-f26ba5846d6859714e2f32f8f3625e57855ea703.zip |
coding style
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index c2a07e47889..d361b7768f9 100644 --- a/lib/base.php +++ b/lib/base.php @@ -527,6 +527,7 @@ class OC { OC_User::useBackend(new OC_User_Database()); OC_Group::useBackend(new OC_Group_Database()); + if (isset($_SERVER['PHP_AUTH_USER']) && self::$session->exists('user_id') && $_SERVER['PHP_AUTH_USER'] !== self::$session->get('loginname')) { $sessionUser = self::$session->get('loginname'); |