summaryrefslogtreecommitdiffstats
path: root/lib/private/util.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-12 10:15:23 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-12 10:15:23 +0100
commit3248db05f11d420f9fa89774f185c43fe6c632ba (patch)
tree285472ee82e5bfc325343410a58819ed68cfc1de /lib/private/util.php
parentaf05be1ac7e5b115a1a5593d4d28e3f5556e8ed5 (diff)
parent3a0d42ecf3da8cd7c0123131c096dd7fd4d4b4fe (diff)
downloadnextcloud-server-3248db05f11d420f9fa89774f185c43fe6c632ba.tar.gz
nextcloud-server-3248db05f11d420f9fa89774f185c43fe6c632ba.zip
Merge pull request #17920 from andyboeh/master
Add possibility for alternative logins to force redirection of login page
Diffstat (limited to 'lib/private/util.php')
-rw-r--r--lib/private/util.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index 41f3c26e405..4c151d63639 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -948,6 +948,7 @@ class OC_Util {
$parameters['alt_login'] = OC_App::getAlternativeLogIns();
$parameters['rememberLoginAllowed'] = self::rememberLoginAllowed();
+ \OC_Hook::emit('OC_Util', 'pre_displayLoginPage', array('parameters' => $parameters));
OC_Template::printGuestPage("", "login", $parameters);
}