Update LoginForm.php

This commit is contained in:
MaximAL 2015-06-05 17:40:49 +03:00
parent 8a1f362e9f
commit a52ca24ecd

View File

@ -58,9 +58,8 @@ class LoginForm extends Model
{
if ($this->validate()) {
return Yii::$app->user->login($this->getUser(), $this->rememberMe ? 3600*24*30 : 0);
} else {
return false;
}
return false;
}
/**