2fa by email and by sms

This commit is contained in:
Antonio Cordeddu
2022-07-09 19:10:00 +02:00
parent 69e4bb620e
commit 91d110e1e7
47 changed files with 1253 additions and 48 deletions

View File

@ -109,6 +109,7 @@ return [
'Finish' => '',
'Force password change at next login' => '',
'Forgot password?' => '',
'Google Authenticator' => '',
'Gravatar email' => '',
'Hello' => '',
'Here you can download your personal data in a comma separated values format.' => '',
@ -120,6 +121,10 @@ return [
'In order to complete your request, please click the link below' => '',
'In order to finish your registration, we need you to enter following fields' => '',
'Information' => '',
'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.' => '',
'Invalid login or password' => '',
'Invalid or expired link' => '',
'Invalid password' => '',
@ -135,6 +140,9 @@ return [
'Login' => '',
'Logout' => '',
'Manage users' => '',
'Mobile phone number' => '',
'Mobile phone number not registered.' => '',
'Mobile phone number successfully enabled.' => '',
'Name' => '',
'Networks' => '',
'Never' => '',
@ -155,6 +163,8 @@ return [
'Please be certain' => '',
'Please click the link below to complete your password reset' => '',
'Please fix following errors:' => '',
'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.' => '',
'Privacy' => '',
'Privacy settings' => '',
'Profile' => '',
@ -191,6 +201,7 @@ return [
'Something went wrong' => '',
'Submit' => '',
'Switch identities is disabled.' => '',
'Text message' => '',
'Thank you for signing up on {0}' => '',
'Thank you, registration is now complete.' => '',
'The "recaptcha" component must be configured.' => '',
@ -200,6 +211,7 @@ return [
'There was an error in saving user' => '',
'This account has already been connected to another user' => '',
'This email address has already been taken' => '',
'This is the code to insert to enable two factor authentication' => '',
'This username has already been taken' => '',
'This will disable two factor authentication. Are you sure?' => '',
'This will remove your personal data from this site. You will no longer be able to sign in.' => '',
@ -207,6 +219,8 @@ return [
'Time zone is not valid' => '',
'Two Factor Authentication (2FA)' => '',
'Two factor authentication code' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Two factor authentication has been disabled.' => '',
'Two factor authentication protects you in case of stolen credentials' => '',
'Two factor authentication successfully enabled.' => '',

View File

@ -109,6 +109,7 @@ return [
'Finish' => '',
'Force password change at next login' => '',
'Forgot password?' => '',
'Google Authenticator' => '',
'Gravatar email' => '',
'Hello' => '',
'Here you can download your personal data in a comma separated values format.' => '',
@ -120,6 +121,10 @@ return [
'In order to complete your request, please click the link below' => '',
'In order to finish your registration, we need you to enter following fields' => '',
'Information' => '',
'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.' => '',
'Invalid login or password' => '',
'Invalid or expired link' => '',
'Invalid password' => '',
@ -135,6 +140,9 @@ return [
'Login' => '',
'Logout' => '',
'Manage users' => '',
'Mobile phone number' => '',
'Mobile phone number not registered.' => '',
'Mobile phone number successfully enabled.' => '',
'Name' => '',
'Networks' => '',
'Never' => '',
@ -155,6 +163,8 @@ return [
'Please be certain' => '',
'Please click the link below to complete your password reset' => '',
'Please fix following errors:' => '',
'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.' => '',
'Privacy' => '',
'Privacy settings' => '',
'Profile' => '',
@ -191,6 +201,7 @@ return [
'Something went wrong' => '',
'Submit' => '',
'Switch identities is disabled.' => '',
'Text message' => '',
'Thank you for signing up on {0}' => '',
'Thank you, registration is now complete.' => '',
'The "recaptcha" component must be configured.' => '',
@ -200,6 +211,7 @@ return [
'There was an error in saving user' => '',
'This account has already been connected to another user' => '',
'This email address has already been taken' => '',
'This is the code to insert to enable two factor authentication' => '',
'This username has already been taken' => '',
'This will disable two factor authentication. Are you sure?' => '',
'This will remove your personal data from this site. You will no longer be able to sign in.' => '',
@ -207,6 +219,8 @@ return [
'Time zone is not valid' => '',
'Two Factor Authentication (2FA)' => '',
'Two factor authentication code' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Two factor authentication has been disabled.' => '',
'Two factor authentication protects you in case of stolen credentials' => '',
'Two factor authentication successfully enabled.' => '',

View File

@ -275,7 +275,22 @@ return [
'{0} cannot be blank.' => '{0} darf nicht leer sein.',
'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => '',
'Data privacy' => '',
'Every user having your role has two factor authentication mandatory, you must enable it' => '',
'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.' => '',
'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.' => '',
'Submit' => '',
'Text message' => '',
'This is the code to insert to enable two factor authentication' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Unfortunately, you can not work with this site without giving us consent to process your data.' => '',
'Your consent is required to work with this site' => '',
'A message has been sent to your email address. ' => '@@Eine Nachricht wurde an Deine E-Mail Adresse gesendet@@',

View File

@ -277,4 +277,21 @@ return [
'Submit' => 'Absenden',
'Unfortunately, you can not work with this site without giving us consent to process your data.' => 'Leider können Sie nicht mit dieser Seite arbeiten, ohne uns die Zustimmung zur Verarbeitung Ihrer Daten zu geben.',
'Your consent is required to work with this site' => 'Ihre Zustimmung ist erforderlich, um mit dieser Website zu arbeiten',
'Every user having your role has two factor authentication mandatory, you must enable it' => '',
'Google Authenticator' => '',
'Information' => '',
'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.' => '',
'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.' => '',
'Text message' => '',
'This is the code to insert to enable two factor authentication' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Now you can resume the login process' => '@@@@',
];

View File

@ -276,6 +276,21 @@ return [
'privacy policy' => 'política de privacidad',
'{0, date, MMMM dd, YYYY HH:mm}' => '{0, date, dd MMMM, YYYY HH:mm}',
'{0} cannot be blank.' => '{0} no puede estar vacío.',
'Every user having your role has two factor authentication mandatory, you must enable it' => '',
'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.' => '',
'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.' => '',
'Text message' => '',
'This is the code to insert to enable two factor authentication' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Your consent is required to work with this site' => '',
'{0, date, MMM dd, YYYY HH:mm}' => '',
'An email has been sent with instructions for resetting your password' => '@@Se ha enviado un correo electrónico con instrucciones para restablecer su contraseña@@',

View File

@ -268,8 +268,23 @@ return [
'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => '',
'Authentication rule class {0} can not be instantiated' => '',
'Data privacy' => '',
'Every user having your role has two factor authentication mandatory, you must enable it' => '',
'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.' => '',
'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.' => '',
'Rule class must extend "yii\\rbac\\Rule".' => '',
'Submit' => '',
'Text message' => '',
'This is the code to insert to enable two factor authentication' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Unfortunately, you can not work with this site without giving us consent to process your data.' => '',
'VKontakte' => '',
'Yandex' => '',

View File

@ -192,9 +192,14 @@ return [
'Error sending welcome message to "{email}". Please try again later.' => '',
'Export my data' => '',
'Force password change at next login' => '',
'Google Authenticator' => '',
'Here you can download your personal data in a comma separated values format.' => '',
'Impersonate this user' => '',
'In order to finish your registration, we need you to enter following fields' => '',
'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.' => '',
'Invalid password' => '',
'Invalid two factor authentication code' => '',
'Invalid value' => '',
@ -203,6 +208,9 @@ return [
'Last login IP' => '',
'Last login time' => '',
'Last password change' => '',
'Mobile phone number' => '',
'Mobile phone number not registered.' => '',
'Mobile phone number successfully enabled.' => '',
'Never' => '',
'New rule' => '',
'Not found' => '',
@ -210,6 +218,8 @@ return [
'Once you have deleted your data, you will not longer be able to sign in with this account.' => '',
'Password age' => '',
'Please be certain' => '',
'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.' => '',
'Privacy' => '',
'Privacy settings' => '',
'Registration on this website is disabled' => '',
@ -229,14 +239,18 @@ return [
'Send password recovery email' => '',
'Submit' => '',
'Switch identities is disabled.' => '',
'Text message' => '',
'The "recaptcha" component must be configured.' => '',
'The verification code is incorrect.' => '',
'There is neither role nor permission with name "{0}"' => '',
'There was an error in saving user' => '',
'This is the code to insert to enable two factor authentication' => '',
'This will disable two factor authentication. Are you sure?' => '',
'This will remove your personal data from this site. You will no longer be able to sign in.' => '',
'Two Factor Authentication (2FA)' => '',
'Two factor authentication code' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Two factor authentication has been disabled.' => '',
'Two factor authentication protects you in case of stolen credentials' => '',
'Two factor authentication successfully enabled.' => '',

View File

@ -109,6 +109,7 @@ return [
'Finish' => '',
'Force password change at next login' => '',
'Forgot password?' => '',
'Google Authenticator' => '',
'Gravatar email' => '',
'Hello' => '',
'Here you can download your personal data in a comma separated values format.' => '',
@ -120,6 +121,10 @@ return [
'In order to complete your request, please click the link below' => '',
'In order to finish your registration, we need you to enter following fields' => '',
'Information' => '',
'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.' => '',
'Invalid login or password' => '',
'Invalid or expired link' => '',
'Invalid password' => '',
@ -135,6 +140,9 @@ return [
'Login' => '',
'Logout' => '',
'Manage users' => '',
'Mobile phone number' => '',
'Mobile phone number not registered.' => '',
'Mobile phone number successfully enabled.' => '',
'Name' => '',
'Networks' => '',
'Never' => '',
@ -155,6 +163,8 @@ return [
'Please be certain' => '',
'Please click the link below to complete your password reset' => '',
'Please fix following errors:' => '',
'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.' => '',
'Privacy' => '',
'Privacy settings' => '',
'Profile' => '',
@ -191,6 +201,7 @@ return [
'Something went wrong' => '',
'Submit' => '',
'Switch identities is disabled.' => '',
'Text message' => '',
'Thank you for signing up on {0}' => '',
'Thank you, registration is now complete.' => '',
'The "recaptcha" component must be configured.' => '',
@ -200,6 +211,7 @@ return [
'There was an error in saving user' => '',
'This account has already been connected to another user' => '',
'This email address has already been taken' => '',
'This is the code to insert to enable two factor authentication' => '',
'This username has already been taken' => '',
'This will disable two factor authentication. Are you sure?' => '',
'This will remove your personal data from this site. You will no longer be able to sign in.' => '',
@ -207,6 +219,8 @@ return [
'Time zone is not valid' => '',
'Two Factor Authentication (2FA)' => '',
'Two factor authentication code' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Two factor authentication has been disabled.' => '',
'Two factor authentication protects you in case of stolen credentials' => '',
'Two factor authentication successfully enabled.' => '',

View File

@ -272,7 +272,22 @@ return [
'{0} cannot be blank.' => '{0} ne peut être vide.',
'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => '',
'Data privacy' => '',
'Every user having your role has two factor authentication mandatory, you must enable it' => '',
'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.' => '',
'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.' => '',
'Submit' => '',
'Text message' => '',
'This is the code to insert to enable two factor authentication' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Unfortunately, you can not work with this site without giving us consent to process your data.' => '',
'Your consent is required to work with this site' => '',
'{0, date, MMM dd, YYYY HH:mm}' => '',

View File

@ -109,6 +109,7 @@ return [
'Finish' => '',
'Force password change at next login' => '',
'Forgot password?' => '',
'Google Authenticator' => '',
'Gravatar email' => '',
'Hello' => '',
'Here you can download your personal data in a comma separated values format.' => '',
@ -120,6 +121,10 @@ return [
'In order to complete your request, please click the link below' => '',
'In order to finish your registration, we need you to enter following fields' => '',
'Information' => '',
'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.' => '',
'Invalid login or password' => '',
'Invalid or expired link' => '',
'Invalid password' => '',
@ -135,6 +140,9 @@ return [
'Login' => '',
'Logout' => '',
'Manage users' => '',
'Mobile phone number' => '',
'Mobile phone number not registered.' => '',
'Mobile phone number successfully enabled.' => '',
'Name' => '',
'Networks' => '',
'Never' => '',
@ -155,6 +163,8 @@ return [
'Please be certain' => '',
'Please click the link below to complete your password reset' => '',
'Please fix following errors:' => '',
'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.' => '',
'Privacy' => '',
'Privacy settings' => '',
'Profile' => '',
@ -191,6 +201,7 @@ return [
'Something went wrong' => '',
'Submit' => '',
'Switch identities is disabled.' => '',
'Text message' => '',
'Thank you for signing up on {0}' => '',
'Thank you, registration is now complete.' => '',
'The "recaptcha" component must be configured.' => '',
@ -200,6 +211,7 @@ return [
'There was an error in saving user' => '',
'This account has already been connected to another user' => '',
'This email address has already been taken' => '',
'This is the code to insert to enable two factor authentication' => '',
'This username has already been taken' => '',
'This will disable two factor authentication. Are you sure?' => '',
'This will remove your personal data from this site. You will no longer be able to sign in.' => '',
@ -207,6 +219,8 @@ return [
'Time zone is not valid' => '',
'Two Factor Authentication (2FA)' => '',
'Two factor authentication code' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Two factor authentication has been disabled.' => '',
'Two factor authentication protects you in case of stolen credentials' => '',
'Two factor authentication successfully enabled.' => '',

View File

@ -272,9 +272,24 @@ 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' => '',
'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.' => '',
'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.' => '',
'Rule class name' => '',
'Select rule...' => '',
'Submit' => '',
'Text message' => '',
'This is the code to insert to enable two factor authentication' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Two factor authentication protects you in case of stolen credentials' => '',
'Unfortunately, you can not work with this site without giving us consent to process your data.' => '',
'Your consent is required to work with this site' => '',

View File

@ -109,6 +109,7 @@ return [
'Finish' => 'Completa',
'Force password change at next login' => 'Forza il cambio password al prossimo accesso',
'Forgot password?' => 'Password dimenticata?',
'Google Authenticator' => 'Autenticatore di Google',
'Gravatar email' => 'Email di Gravatar',
'Hello' => 'Ciao',
'Here you can download your personal data in a comma separated values format.' => 'Da qui puoi scaricare i tuoi dati in formato CSV.',
@ -121,6 +122,10 @@ return [
'In order to complete your request, please click the link below' => 'Per completare la richiesta fai click sul collegamento qui sotto',
'In order to finish your registration, we need you to enter following fields' => 'Per finalizzare la registrazione devi fornire le seguenti informazioni',
'Information' => 'Informazioni',
'Insert' => 'Inserisci',
'Insert the code you received by SMS.' => 'Inserisci il codice ricevuto tramite SMS.',
'Insert the code you received by email.' => 'Inserisci il codice ricevuto tramite email.',
'Insert the mobile phone number on which to receive text message.' => 'Inserisci il numero del cellulare sul quale ricevere i codici.',
'Invalid login or password' => 'Utente o password non validi',
'Invalid or expired link' => 'Collegamento non valido o scaduto',
'Invalid password' => 'Password non valida',
@ -136,6 +141,9 @@ return [
'Login' => 'Accedi',
'Logout' => 'Esci',
'Manage users' => 'Gestisci gli utenti',
'Mobile phone number' => 'Numero di cellulare',
'Mobile phone number not registered.' => 'L\'attivazione del numero di cellulare non è riuscita',
'Mobile phone number successfully enabled.' => 'Il numero di cellulare è stato abilitato',
'Name' => 'Nome',
'Networks' => 'Rete',
'Never' => 'Mai',
@ -156,6 +164,8 @@ return [
'Please be certain' => 'Pensaci bene',
'Please click the link below to complete your password reset' => 'Per favore fai click sul collegamento sotto per completare il cambio password',
'Please fix following errors:' => 'Per favore correggi i seguenti errori:',
'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.' => 'Inserire il codice corretto. Il codice è valido per {0} secondi. Se si desidera ricevere un nuovo codice cliccare su \'Annulla\' e ripetere la procedura di autenticazione',
'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.' => 'Inserire il codice corretto. Il codice è valido per {0} secondi. Se si desidera ricevere un nuovo codice, chiudere questa finestra e ripetere la richiesta di abilitazione.',
'Privacy' => 'Privacy',
'Privacy settings' => 'Impostazioni privacy',
'Profile' => 'Profilo',
@ -192,6 +202,7 @@ return [
'Something went wrong' => 'È successo qualcosa di strano',
'Submit' => 'Invia',
'Switch identities is disabled.' => 'Il cambio identità è disabilitato',
'Text message' => 'Messaggio di testo tramite SMS',
'Thank you for signing up on {0}' => 'Grazie per esserti registrato su {0}',
'Thank you, registration is now complete.' => 'Grazie, la tua registrazione è completa.',
'The "recaptcha" component must be configured.' => 'Occorre configurare il componente "recaptcha".',
@ -208,8 +219,10 @@ return [
'Time zone is not valid' => 'Il fuso orario non è valido',
'Two Factor Authentication (2FA)' => 'Autenticazione a due fattori (2FA)',
'Two factor authentication code' => 'Codice di autenticazione a due fattori',
'Two factor authentication code by SMS' => 'Codice di autenticazione a due fattori tramite SMS',
'Two factor authentication code by email' => 'Codice di autenticazione a due fattori tramite email',
'Two factor authentication has been disabled.' => 'Autenticazione a due fattori disabilitata.',
'Two factor authentication protects you in case of stolen credentials' => 'L\'autenticazione a due fattura ti protegge in caso di furto di credenziali',
'Two factor authentication protects you in case of stolen credentials' => 'L\'autenticazione a due fattori ti protegge in caso di furto di credenziali',
'Two factor authentication successfully enabled.' => 'Autenticazione a due fattori abilitata con successo.',
'Unable to confirm user. Please, try again.' => 'Impossibile confermare l\'utente, per favore ritenta.',
'Unable to create an account.' => 'Impossibile creare l\'account.',
@ -278,5 +291,8 @@ return [
'{0, date, MMM dd, YYYY HH:mm}' => '{0, date, MMM dd, YYYY HH:mm}',
'{0, date, MMMM dd, YYYY HH:mm}' => '{0, date, dd MMMM YYYY HH:mm}',
'{0} cannot be blank.' => '{0} non può essere vuoto.',
'This is the code to insert to enable two factor authentication' => '',
'An email has been sent with instructions for resetting your password' => '@@È stata inviata un\'email con le istruzioni per azzerare la tua password@@',
'Now you can resume the login process' => '@@Ora puoi riprendere il processo di autenticazione@@',
'Send new code' => '@@Invia un nuovo codice@@',
];

View File

@ -109,6 +109,7 @@ return [
'Finish' => '',
'Force password change at next login' => '',
'Forgot password?' => '',
'Google Authenticator' => '',
'Gravatar email' => '',
'Hello' => '',
'Here you can download your personal data in a comma separated values format.' => '',
@ -120,6 +121,10 @@ return [
'In order to complete your request, please click the link below' => '',
'In order to finish your registration, we need you to enter following fields' => '',
'Information' => '',
'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.' => '',
'Invalid login or password' => '',
'Invalid or expired link' => '',
'Invalid password' => '',
@ -135,6 +140,9 @@ return [
'Login' => '',
'Logout' => '',
'Manage users' => '',
'Mobile phone number' => '',
'Mobile phone number not registered.' => '',
'Mobile phone number successfully enabled.' => '',
'Name' => '',
'Networks' => '',
'Never' => '',
@ -155,6 +163,8 @@ return [
'Please be certain' => '',
'Please click the link below to complete your password reset' => '',
'Please fix following errors:' => '',
'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.' => '',
'Privacy' => '',
'Privacy settings' => '',
'Profile' => '',
@ -191,6 +201,7 @@ return [
'Something went wrong' => '',
'Submit' => '',
'Switch identities is disabled.' => '',
'Text message' => '',
'Thank you for signing up on {0}' => '',
'Thank you, registration is now complete.' => '',
'The "recaptcha" component must be configured.' => '',
@ -200,6 +211,7 @@ return [
'There was an error in saving user' => '',
'This account has already been connected to another user' => '',
'This email address has already been taken' => '',
'This is the code to insert to enable two factor authentication' => '',
'This username has already been taken' => '',
'This will disable two factor authentication. Are you sure?' => '',
'This will remove your personal data from this site. You will no longer be able to sign in.' => '',
@ -207,6 +219,8 @@ return [
'Time zone is not valid' => '',
'Two Factor Authentication (2FA)' => '',
'Two factor authentication code' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Two factor authentication has been disabled.' => '',
'Two factor authentication protects you in case of stolen credentials' => '',
'Two factor authentication successfully enabled.' => '',

View File

@ -109,6 +109,7 @@ return [
'Finish' => '',
'Force password change at next login' => '',
'Forgot password?' => '',
'Google Authenticator' => '',
'Gravatar email' => '',
'Hello' => '',
'Here you can download your personal data in a comma separated values format.' => '',
@ -120,6 +121,10 @@ return [
'In order to complete your request, please click the link below' => '',
'In order to finish your registration, we need you to enter following fields' => '',
'Information' => '',
'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.' => '',
'Invalid login or password' => '',
'Invalid or expired link' => '',
'Invalid password' => '',
@ -135,6 +140,9 @@ return [
'Login' => '',
'Logout' => '',
'Manage users' => '',
'Mobile phone number' => '',
'Mobile phone number not registered.' => '',
'Mobile phone number successfully enabled.' => '',
'Name' => '',
'Networks' => '',
'Never' => '',
@ -155,6 +163,8 @@ return [
'Please be certain' => '',
'Please click the link below to complete your password reset' => '',
'Please fix following errors:' => '',
'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.' => '',
'Privacy' => '',
'Privacy settings' => '',
'Profile' => '',
@ -191,6 +201,7 @@ return [
'Something went wrong' => '',
'Submit' => '',
'Switch identities is disabled.' => '',
'Text message' => '',
'Thank you for signing up on {0}' => '',
'Thank you, registration is now complete.' => '',
'The "recaptcha" component must be configured.' => '',
@ -200,6 +211,7 @@ return [
'There was an error in saving user' => '',
'This account has already been connected to another user' => '',
'This email address has already been taken' => '',
'This is the code to insert to enable two factor authentication' => '',
'This username has already been taken' => '',
'This will disable two factor authentication. Are you sure?' => '',
'This will remove your personal data from this site. You will no longer be able to sign in.' => '',
@ -207,6 +219,8 @@ return [
'Time zone is not valid' => '',
'Two Factor Authentication (2FA)' => '',
'Two factor authentication code' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Two factor authentication has been disabled.' => '',
'Two factor authentication protects you in case of stolen credentials' => '',
'Two factor authentication successfully enabled.' => '',

View File

@ -272,9 +272,24 @@ 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' => '',
'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.' => '',
'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.' => '',
'Rule class name' => '',
'Select rule...' => '',
'Submit' => '',
'Text message' => '',
'This is the code to insert to enable two factor authentication' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Two factor authentication protects you in case of stolen credentials' => '',
'Unfortunately, you can not work with this site without giving us consent to process your data.' => '',
'Your consent is required to work with this site' => '',

View File

@ -272,9 +272,24 @@ 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' => '',
'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.' => '',
'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.' => '',
'Rule class name' => '',
'Select rule...' => '',
'Submit' => '',
'Text message' => '',
'This is the code to insert to enable two factor authentication' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Two factor authentication protects you in case of stolen credentials' => '',
'Unfortunately, you can not work with this site without giving us consent to process your data.' => '',
'Your consent is required to work with this site' => '',

View File

@ -272,9 +272,24 @@ 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' => '',
'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.' => '',
'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.' => '',
'Rule class name' => '',
'Select rule...' => '',
'Submit' => '',
'Text message' => '',
'This is the code to insert to enable two factor authentication' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Two factor authentication protects you in case of stolen credentials' => '',
'Unfortunately, you can not work with this site without giving us consent to process your data.' => '',
'Your consent is required to work with this site' => '',

View File

@ -264,12 +264,27 @@ return [
'Class' => '',
'Data privacy' => '',
'Email' => '',
'Every user having your role has two factor authentication mandatory, you must enable it' => '',
'Google Authenticator' => '',
'Gravatar email' => '',
'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.' => '',
'Items' => '',
'Mobile phone number' => '',
'Mobile phone number not registered.' => '',
'Mobile phone number successfully enabled.' => '',
'Password' => '',
'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.' => '',
'Rule class name' => '',
'Select rule...' => '',
'Submit' => '',
'Text message' => '',
'This is the code to insert to enable two factor authentication' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Two factor authentication protects you in case of stolen credentials' => '',
'Unfortunately, you can not work with this site without giving us consent to process your data.' => '',
'VKontakte' => '',

View File

@ -272,9 +272,24 @@ 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' => '',
'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.' => '',
'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.' => '',
'Rule class name' => '',
'Select rule...' => '',
'Submit' => '',
'Text message' => '',
'This is the code to insert to enable two factor authentication' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Two factor authentication protects you in case of stolen credentials' => '',
'Unfortunately, you can not work with this site without giving us consent to process your data.' => '',
'Your consent is required to work with this site' => '',

View File

@ -275,7 +275,22 @@ return [
'{0} cannot be blank.' => '{0} не может быть пустым.',
'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => '',
'Data privacy' => '',
'Every user having your role has two factor authentication mandatory, you must enable it' => '',
'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.' => '',
'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.' => '',
'Submit' => '',
'Text message' => '',
'This is the code to insert to enable two factor authentication' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Unfortunately, you can not work with this site without giving us consent to process your data.' => '',
'Your consent is required to work with this site' => '',
'A message has been sent to your email address. ' => '@@Сообщение было отправлено на вашу электронную почту@@',

View File

@ -109,6 +109,7 @@ return [
'Finish' => '',
'Force password change at next login' => '',
'Forgot password?' => '',
'Google Authenticator' => '',
'Gravatar email' => '',
'Hello' => '',
'Here you can download your personal data in a comma separated values format.' => '',
@ -120,6 +121,10 @@ return [
'In order to complete your request, please click the link below' => '',
'In order to finish your registration, we need you to enter following fields' => '',
'Information' => '',
'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.' => '',
'Invalid login or password' => '',
'Invalid or expired link' => '',
'Invalid password' => '',
@ -135,6 +140,9 @@ return [
'Login' => '',
'Logout' => '',
'Manage users' => '',
'Mobile phone number' => '',
'Mobile phone number not registered.' => '',
'Mobile phone number successfully enabled.' => '',
'Name' => '',
'Networks' => '',
'Never' => '',
@ -155,6 +163,8 @@ return [
'Please be certain' => '',
'Please click the link below to complete your password reset' => '',
'Please fix following errors:' => '',
'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.' => '',
'Privacy' => '',
'Privacy settings' => '',
'Profile' => '',
@ -191,6 +201,7 @@ return [
'Something went wrong' => '',
'Submit' => '',
'Switch identities is disabled.' => '',
'Text message' => '',
'Thank you for signing up on {0}' => '',
'Thank you, registration is now complete.' => '',
'The "recaptcha" component must be configured.' => '',
@ -200,6 +211,7 @@ return [
'There was an error in saving user' => '',
'This account has already been connected to another user' => '',
'This email address has already been taken' => '',
'This is the code to insert to enable two factor authentication' => '',
'This username has already been taken' => '',
'This will disable two factor authentication. Are you sure?' => '',
'This will remove your personal data from this site. You will no longer be able to sign in.' => '',
@ -207,6 +219,8 @@ return [
'Time zone is not valid' => '',
'Two Factor Authentication (2FA)' => '',
'Two factor authentication code' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Two factor authentication has been disabled.' => '',
'Two factor authentication protects you in case of stolen credentials' => '',
'Two factor authentication successfully enabled.' => '',

View File

@ -109,6 +109,7 @@ return [
'Finish' => '',
'Force password change at next login' => '',
'Forgot password?' => '',
'Google Authenticator' => '',
'Gravatar email' => '',
'Hello' => '',
'Here you can download your personal data in a comma separated values format.' => '',
@ -120,6 +121,10 @@ return [
'In order to complete your request, please click the link below' => '',
'In order to finish your registration, we need you to enter following fields' => '',
'Information' => '',
'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.' => '',
'Invalid login or password' => '',
'Invalid or expired link' => '',
'Invalid password' => '',
@ -135,6 +140,9 @@ return [
'Login' => '',
'Logout' => '',
'Manage users' => '',
'Mobile phone number' => '',
'Mobile phone number not registered.' => '',
'Mobile phone number successfully enabled.' => '',
'Name' => '',
'Networks' => '',
'Never' => '',
@ -155,6 +163,8 @@ return [
'Please be certain' => '',
'Please click the link below to complete your password reset' => '',
'Please fix following errors:' => '',
'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.' => '',
'Privacy' => '',
'Privacy settings' => '',
'Profile' => '',
@ -191,6 +201,7 @@ return [
'Something went wrong' => '',
'Submit' => '',
'Switch identities is disabled.' => '',
'Text message' => '',
'Thank you for signing up on {0}' => '',
'Thank you, registration is now complete.' => '',
'The "recaptcha" component must be configured.' => '',
@ -200,6 +211,7 @@ return [
'There was an error in saving user' => '',
'This account has already been connected to another user' => '',
'This email address has already been taken' => '',
'This is the code to insert to enable two factor authentication' => '',
'This username has already been taken' => '',
'This will disable two factor authentication. Are you sure?' => '',
'This will remove your personal data from this site. You will no longer be able to sign in.' => '',
@ -207,6 +219,8 @@ return [
'Time zone is not valid' => '',
'Two Factor Authentication (2FA)' => '',
'Two factor authentication code' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Two factor authentication has been disabled.' => '',
'Two factor authentication protects you in case of stolen credentials' => '',
'Two factor authentication successfully enabled.' => '',

View File

@ -274,8 +274,23 @@ return [
'{0} cannot be blank.' => '{0} не може бути порожнім.',
'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => '',
'Data privacy' => '',
'Every user having your role has two factor authentication mandatory, you must enable it' => '',
'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.' => '',
'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.' => '',
'Recovery message sent' => '',
'Submit' => '',
'Text message' => '',
'This is the code to insert to enable two factor authentication' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Unfortunately, you can not work with this site without giving us consent to process your data.' => '',
'Your consent is required to work with this site' => '',
'A message has been sent to your email address. ' => '@@На вашу електронну адресу надіслано повідомлення@@',

View File

@ -109,6 +109,7 @@ return [
'Finish' => '',
'Force password change at next login' => '',
'Forgot password?' => '',
'Google Authenticator' => '',
'Gravatar email' => '',
'Hello' => '',
'Here you can download your personal data in a comma separated values format.' => '',
@ -120,6 +121,10 @@ return [
'In order to complete your request, please click the link below' => '',
'In order to finish your registration, we need you to enter following fields' => '',
'Information' => '',
'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.' => '',
'Invalid login or password' => '',
'Invalid or expired link' => '',
'Invalid password' => '',
@ -135,6 +140,9 @@ return [
'Login' => '',
'Logout' => '',
'Manage users' => '',
'Mobile phone number' => '',
'Mobile phone number not registered.' => '',
'Mobile phone number successfully enabled.' => '',
'Name' => '',
'Networks' => '',
'Never' => '',
@ -155,6 +163,8 @@ return [
'Please be certain' => '',
'Please click the link below to complete your password reset' => '',
'Please fix following errors:' => '',
'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.' => '',
'Privacy' => '',
'Privacy settings' => '',
'Profile' => '',
@ -191,6 +201,7 @@ return [
'Something went wrong' => '',
'Submit' => '',
'Switch identities is disabled.' => '',
'Text message' => '',
'Thank you for signing up on {0}' => '',
'Thank you, registration is now complete.' => '',
'The "recaptcha" component must be configured.' => '',
@ -200,6 +211,7 @@ return [
'There was an error in saving user' => '',
'This account has already been connected to another user' => '',
'This email address has already been taken' => '',
'This is the code to insert to enable two factor authentication' => '',
'This username has already been taken' => '',
'This will disable two factor authentication. Are you sure?' => '',
'This will remove your personal data from this site. You will no longer be able to sign in.' => '',
@ -207,6 +219,8 @@ return [
'Time zone is not valid' => '',
'Two Factor Authentication (2FA)' => '',
'Two factor authentication code' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Two factor authentication has been disabled.' => '',
'Two factor authentication protects you in case of stolen credentials' => '',
'Two factor authentication successfully enabled.' => '',

View File

@ -109,6 +109,7 @@ return [
'Finish' => '',
'Force password change at next login' => '',
'Forgot password?' => '',
'Google Authenticator' => '',
'Gravatar email' => '',
'Hello' => '',
'Here you can download your personal data in a comma separated values format.' => '',
@ -120,6 +121,10 @@ return [
'In order to complete your request, please click the link below' => '',
'In order to finish your registration, we need you to enter following fields' => '',
'Information' => '',
'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.' => '',
'Invalid login or password' => '',
'Invalid or expired link' => '',
'Invalid password' => '',
@ -135,6 +140,9 @@ return [
'Login' => '',
'Logout' => '',
'Manage users' => '',
'Mobile phone number' => '',
'Mobile phone number not registered.' => '',
'Mobile phone number successfully enabled.' => '',
'Name' => '',
'Networks' => '',
'Never' => '',
@ -155,6 +163,8 @@ return [
'Please be certain' => '',
'Please click the link below to complete your password reset' => '',
'Please fix following errors:' => '',
'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.' => '',
'Privacy' => '',
'Privacy settings' => '',
'Profile' => '',
@ -191,6 +201,7 @@ return [
'Something went wrong' => '',
'Submit' => '',
'Switch identities is disabled.' => '',
'Text message' => '',
'Thank you for signing up on {0}' => '',
'Thank you, registration is now complete.' => '',
'The "recaptcha" component must be configured.' => '',
@ -200,6 +211,7 @@ return [
'There was an error in saving user' => '',
'This account has already been connected to another user' => '',
'This email address has already been taken' => '',
'This is the code to insert to enable two factor authentication' => '',
'This username has already been taken' => '',
'This will disable two factor authentication. Are you sure?' => '',
'This will remove your personal data from this site. You will no longer be able to sign in.' => '',
@ -207,6 +219,8 @@ return [
'Time zone is not valid' => '',
'Two Factor Authentication (2FA)' => '',
'Two factor authentication code' => '',
'Two factor authentication code by SMS' => '',
'Two factor authentication code by email' => '',
'Two factor authentication has been disabled.' => '',
'Two factor authentication protects you in case of stolen credentials' => '',
'Two factor authentication successfully enabled.' => '',

View File

@ -0,0 +1,22 @@
<?php
/*
* This file is part of the 2amigos/yii2-usuario 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 $code
*/
?>
<?= Yii::t('usuario', 'Hello') ?>,
<?= Yii::t('usuario', 'This is the code to insert to enable two factor authentication') ?>.
<?= $code ?>
<?= Yii::t('usuario', 'If you did not make this request you can ignore this email') ?>.

View File

@ -0,0 +1,27 @@
<?php
/*
* This file is part of the 2amigos/yii2-usuario 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.
*/
use yii\helpers\Html;
/**
* @var String $code
* @var \Da\User\Model\Token $token
*/
?>
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;">
<?= Yii::t('usuario', 'Hello') ?>,
</p>
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;">
<b><?= $code ?></b>
</p>
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;">
<?= Yii::t('usuario', 'If you did not make this request you can ignore this email') ?>.
</p>

View File

@ -47,7 +47,6 @@ $this->params['breadcrumbs'][] = $this->title;
'twoFactorAuthenticationCode',
['inputOptions' => ['autofocus' => 'autofocus', 'class' => 'form-control', 'tabindex' => '1']]
) ?>
<div class="row">
<div class="col-md-6">
<?= Html::a(

View File

@ -86,8 +86,8 @@ $module = Yii::$app->getModule('user');
<div class="modal-body">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal" onClick='window.location.reload();'>
<?= Yii::t('usuario', 'Close') ?>
</button>
</div>
@ -102,6 +102,21 @@ $module = Yii::$app->getModule('user');
<p>
<?= Yii::t('usuario', 'Two factor authentication protects you in case of stolen credentials') ?>.
</p>
<?php if ($module->enableTwoFactorAuthentication && !$model->getUser()->auth_tf_enabled):
$validators = $module->twoFactorAuthenticationValidators;
foreach( $validators as $name => $validator ) {
$description = $validator[ "description" ];
$checked = $name=='google-authenticator'?'checked':'';
?>
<div class="form-check">
<input class="form-check-input" type="radio" name="2famethod" id="<?= $name?>" value="<?= $name?>" <?= $checked?>>
<label class="form-check-label" for="<?= $name?>">
<?= $description?>
</label>
</div>
<?php
} ;
endif; ?>
<div class="text-right">
<?= Html::a(
Yii::t('usuario', 'Disable two factor authentication'),
@ -161,34 +176,69 @@ $module = Yii::$app->getModule('user');
// consider overriding this view and include your very own approach
$uri = Url::to(['two-factor', 'id' => $model->getUser()->id]);
$verify = Url::to(['two-factor-enable', 'id' => $model->getUser()->id]);
$mobilePhoneRegistration = Url::to(['two-factor-mobile-phone', 'id' => $model->getUser()->id]);
$js = <<<JS
$('#tfmodal')
var choice = '';
$('#tfmodal')
.on('show.bs.modal', function(){
var element = document.getElementsByName('2famethod');
for(i = 0; i < element.length; i++) {
if(element[i].checked)
choice = element[i].value;
}
if(!$('img#qrCode').length) {
$(this).find('.modal-body').load('{$uri}');
$(this).find('.modal-body').load('{$uri}', {choice: choice});
} else {
$('input#tfcode').val('');
}
});
$(document)
.on('click', '.btn-submit-code', function(e) {
e.preventDefault();
var btn = $(this);
btn.prop('disabled', true);
e.preventDefault();
var btn = $(this);
btn.prop('disabled', true);
var choice = '';
var element = document.getElementsByName('2famethod');
for(i = 0; i < element.length; i++) {
if(element[i].checked)
choice = element[i].value;
}
$.getJSON('{$verify}', {code: $('#tfcode').val(), choice: choice}, function(data){
btn.prop('disabled', false);
if(data.success) {
$('#enable_tf_btn, #disable_tf_btn').toggleClass('hide');
$('#tfmessage').removeClass('alert-danger').addClass('alert-success').find('p').text(data.message);
setTimeout(function() { $('#tfmodal').modal('hide'); }, 2000);
window.location.reload();
} else {
$('input#tfcode').val('');
$('#tfmessage').removeClass('alert-info').addClass('alert-danger').find('p').text(data.message);
}
}).fail(function(){ btn.prop('disabled', false); });
})
.on('click', '.btn-submit-mobile-phone', function(e) {
e.preventDefault();
var btn = $(this);
btn.prop('disabled', true);
$.getJSON('{$mobilePhoneRegistration}', {mobilephone: $('#mobilephone').val()}, function(data){
btn.prop('disabled', false);
if(data.success) {
btn.prop('disabled', true);
$('#smssection').toggleClass('hide');
$('#sendnewcode').toggleClass('hide');
$('#tfmessagephone').removeClass('alert-danger').addClass('alert-success').find('p').text(data.message);
} else {
$('input#phonenumber').val('');
$('#tfmessagephone').removeClass('alert-info').addClass('alert-danger').find('p').text(data.message);
}
}).fail(function(){ btn.prop('disabled', false); });
$.getJSON('{$verify}', {code: $('#tfcode').val()}, function(data){
btn.prop('disabled', false);
if(data.success) {
$('#enable_tf_btn, #disable_tf_btn').toggleClass('hide');
$('#tfmessage').removeClass('alert-danger').addClass('alert-success').find('p').text(data.message);
setTimeout(function() { $('#tfmodal').modal('hide'); }, 2000);
} else {
$('input#tfcode').val('');
$('#tfmessage').removeClass('alert-info').addClass('alert-danger').find('p').text(data.message);
}
}).fail(function(){ btn.prop('disabled', false); });
});
})
JS;
$this->registerJs($js);

View 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>

View File

@ -0,0 +1,68 @@
<?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 */
/** @var string $mobilePhoneRegistration */
?>
<div id="phonenumbersection">
<div class="alert alert-info" id="tfmessagephone">
<p>
<?= Yii::t(
'usuario',
'Insert the mobile phone number on which to receive text message.'
) ?>
</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="mobilephone" value="<?= $mobilePhone ?>" placeholder="<?= Yii::t('usuario', 'Mobile phone number') ?>"/>
<span class="input-group-btn">
<button type="button" class="btn btn-primary btn-submit-mobile-phone">
<?= Yii::t('usuario', 'Insert') ?>
</button>
</span>
</div>
</div>
</div>
</div>
<div id="smssection" class="hide">
<hr>
<div class="alert alert-info" id="tfmessage">
<p>
<?= Yii::t(
'usuario',
'Insert the code you received by SMS.'
) ?>
</p>
</div>
<div class="row">
<div class="col-md-offset-3 col-md-6 text-center">
<div></div>
</div>
</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 SMS') ?>"/>
<span class="input-group-btn">
<button type="button" class="btn btn-primary btn-submit-code">
<?= Yii::t('usuario', 'Enable') ?>
</button>
</span>
</div>
</div>
</div>
</div>