mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-26 12:08:41 +00:00
make password write only
This commit is contained in:
parent
c7b98c0000
commit
93e27ae307
|
|
@ -159,7 +159,7 @@ final class AccountMapper extends DataMapperAbstract
|
|||
|
||||
$query = new Builder(self::$db);
|
||||
$result = $query->prefix(self::$db->getPrefix())
|
||||
->select('account_id, account_login, account_password, account_password_temp, account_tries')
|
||||
->select('account_id', 'account_login', 'account_password', 'account_password_temp', 'account_tries')
|
||||
->from('account')
|
||||
->where('account_login', '=', $login)
|
||||
->execute()->fetchAll();
|
||||
|
|
@ -171,7 +171,6 @@ final class AccountMapper extends DataMapperAbstract
|
|||
$result = $result[0];
|
||||
|
||||
// @todo: implement account tries
|
||||
|
||||
if ($result['account_tries'] <= 0) {
|
||||
return LoginReturnType::WRONG_INPUT_EXCEEDED;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user