fix login api
This commit is contained in:
1 parent
f422a70fc3
commit
c522278222
5 files changed
+13
-6
No files matched your search
@@ -59,7 +59,7 @@ class LoginForm extends Model
|
||||
return false;
|
||||
}
|
||||
|
||||
protected function getUser()
|
||||
public function getUser()
|
||||
{
|
||||
if ($this->_user === null) {
|
||||
$this->_user = User::findByUsername($this->username);
|
||||
|
||||
Reference in new issue
Block a user