#458 - fix on variables not initialized
This commit is contained in:
committed by
Lorenzo Milesi
parent
bf918b107e
commit
7fb900dfe1
@ -106,6 +106,7 @@ $module = Yii::$app->getModule('user');
|
||||
<?php if (!$model->getUser()->auth_tf_enabled):
|
||||
$validators = $module->twoFactorAuthenticationValidators;
|
||||
$theFirstFound = false;
|
||||
$checked = '';
|
||||
foreach( $validators as $name => $validator ) {
|
||||
if($validator[ "enabled" ]){
|
||||
// I want to check in the radio field the first validator I get
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
/** @var string $id */
|
||||
/** @var string $uri */
|
||||
/** @var string $mobilePhoneRegistration */
|
||||
/** @var string $mobilePhone */
|
||||
?>
|
||||
|
||||
<div id="phonenumbersection">
|
||||
|
||||
Reference in New Issue
Block a user