Browse Source

updated UserModel

v3-dev
REJack 6 years ago
parent
commit
c845f84c9d
No known key found for this signature in database
GPG Key ID: 4A44B48700429F46
  1. 2
      application/Models/Aauth/UserModel.php

2
application/Models/Aauth/UserModel.php

@ -138,7 +138,7 @@ class UserModel extends Model
$this->validationRules['password'] = 'if_exist|min_length[' . $this->config->passwordMin . ']|max_length[' . $this->config->passwordMax . ']';
$this->validationRules['username'] = 'if_exist|is_unique[' . $this->table . '.username,id,{id}]|regex_match[/' . $this->config->userRegexPattern . '/]';
parent::update($id, $data);
return parent::update($id, $data);
}
/**
* Update last login by User ID

Loading…
Cancel
Save