refinements and documentation on 2fa in yii2-usuario via other channels

This commit is contained in:
Antonio Cordeddu
2022-07-18 14:54:01 +02:00
parent 91d110e1e7
commit 1ea46e9952
36 changed files with 232 additions and 113 deletions

View File

@ -272,14 +272,13 @@ return [
'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => '',
'An email with instructions to create a new password has been sent to {email} if it is associated with an {appName} account. Your existing password has not been changed.' => '',
'Data privacy' => '',
'Every user having your role has two factor authentication mandatory, you must enable it' => '',
'Error while enabling SMS two factor authentication.' => '',
'Google Authenticator' => '',
'Insert' => '',
'Insert the code you received by SMS.' => '',
'Insert the code you received by email.' => '',
'Insert the mobile phone number on which to receive text message.' => '',
'Insert the mobile phone number where you want to receive text message in international format' => '',
'Mobile phone number' => '',
'Mobile phone number not registered.' => '',
'Mobile phone number successfully enabled.' => '',
'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please click on \'Cancel\' and repeat the login request.' => '',
'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please close this window and repeat the enabling request.' => '',
@ -299,11 +298,15 @@ return [
'Class "{0}" does not exist' => '@@A classe "{0}" não existe@@',
'Disable Two-Factor Auth' => '@@Desabilitar autenticação em dois fatores@@',
'Enable Two-factor auth' => '@@Habilitar autenticação em dois fatores@@',
'Every user having your role has two factor authentication mandatory, you must enable it' => '@@@@',
'I aggree processing of my personal data and the use of cookies
to facilitate the operation of this site. For more information read our {privacyPolicy}' => '@@Concordo com o processamento de meus dados pessoais e o uso de cookies para facilitar a operação deste site. Para mais informações, leia nosso {privacyPolicy}@@',
'I aggree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => '@@Concordo com o processamento de meus dados pessoais e o uso de cookies para facilitar a operação deste site. Para mais informações, leia nosso {privacyPolicy}@@',
'Insert the mobile phone number on which to receive text message.' => '@@@@',
'Insert the mobile phone number where you want to receive text message.' => '@@@@',
'Invalid two-factor code' => '@@Código de dois fatores inválido@@',
'Last login' => '@@Último login@@',
'Mobile phone number not registered.' => '@@@@',
'Registration ip' => '@@IP de registro@@',
'Rule class can not be instantiated' => '@@A classe de regras não pode ser instanciada@@',
'Rule class must extend "yii\\rbac\\Rule"' => '@@A classe de regras deve estender de "yii\\rbac\\Rule"@@',