mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #11222 from nextcloud/gs-and-saml
make the server ready to use global scale with SAML as auth back-end
This commit is contained in:
commit
67da97c362
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