Allow apps to load before login, needed for user_openid
This commit is contained in:
parent
405ac36e0c
commit
79f9d61ec8
|
@ -8,6 +8,7 @@
|
||||||
<require>4</require>
|
<require>4</require>
|
||||||
<shipped>true</shipped>
|
<shipped>true</shipped>
|
||||||
<types>
|
<types>
|
||||||
|
<prelogin/>
|
||||||
<authentication/>
|
<authentication/>
|
||||||
</types>
|
</types>
|
||||||
</info>
|
</info>
|
||||||
|
|
|
@ -69,6 +69,7 @@ elseif(OC_User::isLoggedIn()) {
|
||||||
|
|
||||||
// For all others cases, we display the guest page :
|
// For all others cases, we display the guest page :
|
||||||
} else {
|
} else {
|
||||||
|
OC_App::loadApps(array('prelogin'));
|
||||||
$error = false;
|
$error = false;
|
||||||
// remember was checked after last login
|
// remember was checked after last login
|
||||||
if(isset($_COOKIE["oc_remember_login"]) && isset($_COOKIE["oc_token"]) && isset($_COOKIE["oc_username"]) && $_COOKIE["oc_remember_login"]) {
|
if(isset($_COOKIE["oc_remember_login"]) && isset($_COOKIE["oc_token"]) && isset($_COOKIE["oc_username"]) && $_COOKIE["oc_remember_login"]) {
|
||||||
|
|
Loading…
Reference in New Issue