Removed acronyms for 2fa #103
This commit is contained in:
@ -100,21 +100,21 @@ $module = Yii::$app->getModule('user');
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<p>
|
||||
<?= Yii::t('usuario', '2FA protects you against stolen credentials') ?>.
|
||||
<?= Yii::t('usuario', 'Two factor authentication protects you against stolen credentials') ?>.
|
||||
</p>
|
||||
<div class="text-right">
|
||||
<?= Html::a(
|
||||
Yii::t('usuario', 'Disable 2FA'),
|
||||
Yii::t('usuario', 'Disable two factor authentication'),
|
||||
['two-factor-disable', 'id' => $model->getUser()->id],
|
||||
[
|
||||
'id' => 'disable_tf_btn',
|
||||
'class' => 'btn btn-warning ' . ($model->getUser()->auth_tf_enabled ? '' : 'hide'),
|
||||
'data-method' => 'post',
|
||||
'data-confirm' => Yii::t('usuario', 'This will disable 2FA. Are you sure?'),
|
||||
'data-confirm' => Yii::t('usuario', 'This will disable two factor authentication. Are you sure?'),
|
||||
]
|
||||
) ?>
|
||||
<?= Html::a(
|
||||
Yii::t('usuario', 'Enable 2FA'),
|
||||
Yii::t('usuario', 'Enable two factor authentication'),
|
||||
'#tfmodal',
|
||||
[
|
||||
'id' => 'enable_tf_btn',
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<div class="row">
|
||||
<div class="col-md-offset-3 col-md-6 text-center">
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" id="tfcode" placeholder="<?= Yii::t('usuario', '2FA code') ?>"/>
|
||||
<input type="text" class="form-control" id="tfcode" placeholder="<?= Yii::t('usuario', 'Two factor authentication code') ?>"/>
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-primary btn-submit-code">
|
||||
<?= Yii::t('usuario', 'Enable') ?>
|
||||
|
||||
Reference in New Issue
Block a user