if empty this- settings username if this- checkUsername username this-

1
2
3
4
5
6
7
if (!empty($this->settings['username'])) {
if (!$this->checkUsername($username, $this->settings['username'])) {
$this->wrong_password = true; //TODO: need to remove. don't use
$this->setError('username_access', 'You have no access to login this site');
return;
}
}