summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2018-09-24 12:00:13 +0200
committerGitHub <noreply@github.com>2018-09-24 12:00:13 +0200
commit67da97c3627ccc8724bd83eb5b37a4b883e8bab6 (patch)
tree5c9f35d50af37310fb852de34e5c8ff7be9b2229
parent7034192a6118ea13f41d2cc4e232a8a9c215f0f2 (diff)
parentbb86a8ca36a1aeb73a54339340b0d1ddc2f249c3 (diff)
downloadnextcloud-server-67da97c3627ccc8724bd83eb5b37a4b883e8bab6.tar.gz
nextcloud-server-67da97c3627ccc8724bd83eb5b37a4b883e8bab6.zip
Merge pull request #11222 from nextcloud/gs-and-saml
make the server ready to use global scale with SAML as auth back-end
-rw-r--r--lib/private/legacy/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/user.php b/lib/private/legacy/user.php
index ebb1ff2215b..e006a59771a 100644
--- a/lib/private/legacy/user.php
+++ b/lib/private/legacy/user.php
@@ -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) {