diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2021-03-05 08:46:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-05 08:46:46 +0100 |
commit | 3c9a62721f97fb992a288905f885ac1f23963594 (patch) | |
tree | 77a10ed1e60056f5f9b448d9e62e9a512ea428fc /lib | |
parent | 85e48d796c6b4ec2c148b8d31630fa3a135c73e9 (diff) | |
parent | 02809bde120c9e2c3ac38a3ef43f8cb5df346490 (diff) | |
download | nextcloud-server-3c9a62721f97fb992a288905f885ac1f23963594.tar.gz nextcloud-server-3c9a62721f97fb992a288905f885ac1f23963594.zip |
Merge pull request #25725 from lmamane/master
token login: emit preLogin event with LoginName
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/User/Session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php index 70c7f11c45f..c33d79b83cf 100644 --- a/lib/private/User/Session.php +++ b/lib/private/User/Session.php @@ -647,7 +647,7 @@ class Session implements IUserSession, Emitter { // Ignore and use empty string instead } - $this->manager->emit('\OC\User', 'preLogin', [$uid, $password]); + $this->manager->emit('\OC\User', 'preLogin', [$dbToken->getLoginName(), $password]); $user = $this->manager->get($uid); if (is_null($user)) { |