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

Tento commit je obsažen v:
Robin Appelman 2012-06-09 15:57:57 +02:00
rodič 9c644fe53b
revize ba1dec64c1

Zobrazit soubor

@ -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) {