php-cs-fixer run
This commit is contained in:
@ -542,7 +542,7 @@ class SettingsController extends Controller
|
|||||||
throw new NotFoundHttpException();
|
throw new NotFoundHttpException();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($user->updateAttributes(['auth_tf_enabled' => '0', 'auth_tf_key' => NULL])) {
|
if ($user->updateAttributes(['auth_tf_enabled' => '0', 'auth_tf_key' => null])) {
|
||||||
Yii::$app
|
Yii::$app
|
||||||
->getSession()
|
->getSession()
|
||||||
->setFlash('success', Yii::t('usuario', 'Two factor authentication has been disabled.'));
|
->setFlash('success', Yii::t('usuario', 'Two factor authentication has been disabled.'));
|
||||||
|
|||||||
Reference in New Issue
Block a user