php-cs-fixer run

This commit is contained in:
Lorenzo Milesi
2022-09-22 11:17:46 +02:00
parent b4ba918a45
commit b680784f66

View File

@ -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.'));