mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
Merge pull request #11373 from nextcloud/gs-and-saml-stable14
[stable14] make the server ready to use global scale with SAML as auth back-end
This commit is contained in:
commit
6c4f3ac1d6
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ class OC_User {
|
|||
|
||||
$uid = $backend->getCurrentUserId();
|
||||
$run = true;
|
||||
OC_Hook::emit("OC_User", "pre_login", array("run" => &$run, "uid" => $uid));
|
||||
OC_Hook::emit("OC_User", "pre_login", array("run" => &$run, "uid" => $uid, 'backend' => $backend));
|
||||
|
||||
if ($uid) {
|
||||
if (self::getUser() !== $uid) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue