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>
|
||||
<shipped>true</shipped>
|
||||
<types>
|
||||
<prelogin/>
|
||||
<authentication/>
|
||||
</types>
|
||||
</info>
|
||||
|
|
|
@ -69,6 +69,7 @@ elseif(OC_User::isLoggedIn()) {
|
|||
|
||||
// For all others cases, we display the guest page :
|
||||
} else {
|
||||
OC_App::loadApps(array('prelogin'));
|
||||
$error = false;
|
||||
// remember was checked after last login
|
||||
if(isset($_COOKIE["oc_remember_login"]) && isset($_COOKIE["oc_token"]) && isset($_COOKIE["oc_username"]) && $_COOKIE["oc_remember_login"]) {
|
||||
|
|
Loading…
Reference in New Issue