diff --git a/bl-kernel/login.class.php b/bl-kernel/login.class.php index 864200c3..23138566 100644 --- a/bl-kernel/login.class.php +++ b/bl-kernel/login.class.php @@ -9,7 +9,7 @@ class Login { if (isset($GLOBALS['users'])) { $this->users = $GLOBALS['users']; } else { - $this->users = new users(); + $this->users = new Users(); } // Start the Session @@ -149,8 +149,8 @@ class Login { return false; } - // Validate user and login - $user = $this->users->getDb($username); + // Get user from database and login + $user = $this->users->getUserDB($username); $this->setLogin($username, $user['role']); Log::set(__METHOD__.LOG_SEP.'User authenticated via Remember Me.'); return true; diff --git a/bl-kernel/users.class.php b/bl-kernel/users.class.php index be8db936..d2c0656a 100644 --- a/bl-kernel/users.class.php +++ b/bl-kernel/users.class.php @@ -16,7 +16,6 @@ class Users extends dbJSON { 'tokenAuthTTL'=>'2009-03-15 14:00', 'twitter'=>'', 'facebook'=>'', - 'googlePlus'=>'', 'instagram'=>'', 'codepen'=>'', 'linkedin'=>'',