diff options
Diffstat (limited to 'core/classes/authentication')
| -rw-r--r-- | core/classes/authentication/Core/UserManager.php | 1 | ||||
| -rw-r--r-- | core/classes/authentication/User.php | 18 |
2 files changed, 1 insertions, 18 deletions
diff --git a/core/classes/authentication/Core/UserManager.php b/core/classes/authentication/Core/UserManager.php index a3c1cd5..54cd2cb 100644 --- a/core/classes/authentication/Core/UserManager.php +++ b/core/classes/authentication/Core/UserManager.php @@ -76,6 +76,7 @@ class UserManager implements UserManagerInterface /** createUserToken() * == serializes user and stores it into session + * so $_SESSION[DEFAULT_PREFIX_KEY] has the serialized representaion of user */ public function createUserToken(UserInterface $user): UserTokenInterface { diff --git a/core/classes/authentication/User.php b/core/classes/authentication/User.php index 06f0ddb..babc7fd 100644 --- a/core/classes/authentication/User.php +++ b/core/classes/authentication/User.php @@ -56,14 +56,6 @@ class User implements UserInterface return $this->roles; } - /** getPrivileges - * @return array - */ - public function getPrivileges(): array - { - return $this->privileges; - } - /** isEnabled * @return bool */ @@ -110,16 +102,6 @@ class User implements UserInterface return $this; } - /** setPrivileges() - * - * @param array $roles - * @return User - */ - public function setPrivileges(array $privileges): self - { - $this->privileges = $privileges; - return $this; - } /** setEnabled * |
