Skip to content

Commit

Permalink
Update LS.php
Browse files Browse the repository at this point in the history
  • Loading branch information
AdminJack authored and subins2000 committed Jun 8, 2017
1 parent 7ec77ee commit aa3d368
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Fr/LS.php
Expand Up @@ -296,7 +296,7 @@ class LS
/**
* @var array
*/
private $config = array();
protected $config = array();

/**
* Config
Expand Down Expand Up @@ -406,12 +406,12 @@ public function log($msg = '')
/**
* @var PDO Database handler
*/
private $dbh;
protected $dbh;

/**
* @var boolean Whether Fr\LS::init() was called
*/
private $initCalled = false;
protected $initCalled = false;

/**
* Intialize
Expand Down Expand Up @@ -1220,7 +1220,7 @@ public function twoStepLogin($identification = '', $password = '', $remember_me
$sql->execute(array($uid));

if ($cookies) {
$this->login($this->getUser('username', $uid), false, isset($_POST['two_step_login_remember_me']));
$this->login($this->getUser($this->config['db']['columns']['username'], $uid), false, isset($_POST['two_step_login_remember_me']));
}

throw new TwoStepLogin(
Expand Down Expand Up @@ -1278,7 +1278,7 @@ public function twoStepLogin($identification = '', $password = '', $remember_me
unset($_SESSION['two_step_login_uid']);

if ($cookies) {
$this->login($this->getUser('username', $uid), false, $remember_me);
$this->login($this->getUser($this->config['db']['columns']['username'], $uid), false, $remember_me);
}

throw new TwoStepLogin(
Expand Down

0 comments on commit aa3d368

Please sign in to comment.