mirror of
https://github.com/nextcloud/server.git
synced 2024-07-27 20:17:12 +02:00
load all apps when loging in, needed for apps listening to login hooks
This commit is contained in:
parent
9c644fe53b
commit
ba1dec64c1
@ -88,7 +88,7 @@ elseif(OC_User::isLoggedIn()) {
|
|||||||
|
|
||||||
// Someone wants to log in :
|
// Someone wants to log in :
|
||||||
} elseif(isset($_POST["user"]) and isset($_POST['password']) and isset($_SESSION['sectoken']) and isset($_POST['sectoken']) and ($_SESSION['sectoken']==$_POST['sectoken']) ) {
|
} elseif(isset($_POST["user"]) and isset($_POST['password']) and isset($_SESSION['sectoken']) and isset($_POST['sectoken']) and ($_SESSION['sectoken']==$_POST['sectoken']) ) {
|
||||||
OC_App::loadApps(array('authentication'));
|
OC_App::loadApps();
|
||||||
if(OC_User::login($_POST["user"], $_POST["password"])) {
|
if(OC_User::login($_POST["user"], $_POST["password"])) {
|
||||||
if(!empty($_POST["remember_login"])){
|
if(!empty($_POST["remember_login"])){
|
||||||
if(defined("DEBUG") && DEBUG) {
|
if(defined("DEBUG") && DEBUG) {
|
||||||
|
Loading…
Reference in New Issue
Block a user