diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-02-20 00:30:01 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-02-20 00:30:01 +0400 |
commit | 0bc8526bf5b75955a85bd5ce86d95e0ac52c6bf8 (patch) | |
tree | cf141e001aae24be5425445152b3ac90b8a83eaa /core/Access.php | |
parent | 955425b2a7f288c362c6d5fde86f55b9a34a68b2 (diff) |
Make sure login is set if setSuperUser is called.
Diffstat (limited to 'core/Access.php')
-rw-r--r-- | core/Access.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Access.php b/core/Access.php index 8e4337b7c5..67ebe2ddd3 100644 --- a/core/Access.php +++ b/core/Access.php @@ -232,6 +232,7 @@ class Access { if ($bool) { $this->previousLogin = self::getLogin(); + $this->login = $this->getSuperUserLogin(); $this->reloadAccessSuperUser(); } else { $this->hasSuperUserAccess = false; |