Merge branch 'master' into issue_46
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
## 1.0.13 - Work in progress
|
||||
- Enh #46: Use safeUp()/safeDown() instead up()/down() in migrations (MKiselev)
|
||||
- Fix #51: Typo fix rememberLoginLifeSpan to rememberLoginLifespan (MKiselev)
|
||||
|
||||
## 1.0.12 - August 6, 2017
|
||||
- Bug Fix: Modify ResetPasswordService to forcely update password_hash field (tonydspaniard)
|
||||
|
||||
@ -74,7 +74,7 @@ class SocialNetworkAuthenticateService implements ServiceInterface
|
||||
Yii::$app->session->setFlash('danger', Yii::t('usuario', 'Your account has been blocked.'));
|
||||
$this->authAction->setSuccessUrl(Url::to(['/user/security/login']));
|
||||
} else {
|
||||
Yii::$app->user->login($account->user, $this->controller->module->rememberLoginLifeSpan);
|
||||
Yii::$app->user->login($account->user, $this->controller->module->rememberLoginLifespan);
|
||||
$this->authAction->setSuccessUrl(Yii::$app->getUser()->getReturnUrl());
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user