2fa by email and by sms
This commit is contained in:
35
src/User/resources/views/settings/two-factor-email.php
Normal file
35
src/User/resources/views/settings/two-factor-email.php
Normal file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* This file is part of the 2amigos/yii2-usuario-app project.
|
||||
*
|
||||
* (c) 2amigOS! <http://2amigos.us/>
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/** @var string $id */
|
||||
/** @var string $uri */
|
||||
?>
|
||||
|
||||
<div class="alert alert-info" id="tfmessage">
|
||||
<p>
|
||||
<?= Yii::t(
|
||||
'usuario',
|
||||
'Insert the code you received by email.'
|
||||
) ?>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<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', 'Two factor authentication code by email') ?>"/>
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-primary btn-submit-code">
|
||||
<?= Yii::t('usuario', 'Enable') ?>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user