Skip to content

Commit

Permalink
Merge branch 'master' of github.com:subins2000/logSys
Browse files Browse the repository at this point in the history
  • Loading branch information
subins2000 committed Jun 17, 2017
2 parents d88cf56 + 3fb3507 commit a4b8ee3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/LS.php
Original file line number Diff line number Diff line change
Expand Up @@ -589,9 +589,9 @@ public function login($username, $password, $remember_me = false, $cookies = tru
/**
* Get the user details
*/
$us_id = $cols['id'];
$us_pass = $cols['password'];
$status = $cols['attempt'];
$us_id = $cols[$this->config["db"]["columns"]["id"]];
$us_pass = $cols[$this->config["db"]["columns"]["password"]];
$status = $cols[$this->config["db"]["columns"]["attempt"]];

if(substr($status, 0, 2) == "b-"){
$blockedTime = substr($status, 2);
Expand Down

0 comments on commit a4b8ee3

Please sign in to comment.