fix views
This commit is contained in:
@ -135,7 +135,8 @@ class SecurityController extends Controller
|
||||
$this->make(SocialNetworkAuthenticateService::class, [$this, $this->action, $client])->run();
|
||||
}
|
||||
|
||||
public function connect(AuthClientInterface $client) {
|
||||
public function connect(AuthClientInterface $client)
|
||||
{
|
||||
if (Yii::$app->user->isGuest) {
|
||||
Yii::$app->session->setFlash('danger', Yii::t('user', 'Something went wrong'));
|
||||
|
||||
|
||||
@ -199,7 +199,7 @@ class SettingsController extends Controller
|
||||
|
||||
public function actionDelete()
|
||||
{
|
||||
if (!$this->module->enableAccountDelete) {
|
||||
if (!$this->module->allowAccountDelete) {
|
||||
throw new NotFoundHttpException(\Yii::t('user', 'Not found'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user