Merge pull request #204 from zjean/2fa

Validate the 2fa secret
This commit is contained in:
James Cole
2016-03-07 20:01:19 +01:00
13 changed files with 217 additions and 13 deletions

View File

@@ -230,6 +230,9 @@ return [
'pref_two_factor_auth' => '2-step verification',
'pref_two_factor_auth_help' => 'When you enable 2-step verification (also known as two-factor authentication), you add an extra layer of security to your account. You sign in with something you know (your password) and something you have (a verification code). Verification codes are generated by an application on your phone, such as Authy or Google Authenticator.',
'pref_enable_two_factor_auth' => 'Enable 2-step verification',
'pref_two_factor_auth_code' => 'Verify code',
'pref_two_factor_auth_code_help' => 'Scan the QR code with an application on your phone such as Authy or Google Authenticator and enter the generated code.',
'pref_two_factor_auth_reset_code' => 'Reset verification code',
'pref_save_settings' => 'Save settings',
// profile: