Browse Source

load all apps when loging in, needed for apps listening to login hooks

tags/v4.5.0beta1
Robin Appelman 12 years ago
parent
commit
ba1dec64c1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      index.php

+ 1
- 1
index.php View File

@@ -88,7 +88,7 @@ elseif(OC_User::isLoggedIn()) {

// 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']) ) {
OC_App::loadApps(array('authentication'));
OC_App::loadApps();
if(OC_User::login($_POST["user"], $_POST["password"])) {
if(!empty($_POST["remember_login"])){
if(defined("DEBUG") && DEBUG) {

Loading…
Cancel
Save