Two Factor Recovery Codes functionality

This commit is contained in:
Peter Papp
2021-07-16 17:38:01 +02:00
parent 40866405fc
commit 097a930245
11 changed files with 529 additions and 53 deletions

View File

@@ -322,6 +322,7 @@ return [
'context_menu.delete' => 'Delete',
'context_menu.detail' => 'Detail',
'context_menu.download' => 'Download',
'context_menu.copy' => 'Copy',
'context_menu.empty_trash' => 'Empty Trash',
'context_menu.log_out' => 'Log Out',
'context_menu.move' => 'Move',
@@ -395,7 +396,7 @@ return [
'menu.files' => 'Files',
'menu.latest' => 'Recent Uploads',
'menu.logout' => 'Log Out',
'menu.password' => 'Password',
'menu.password' => 'Account Security',
'menu.profile' => 'Profile Settings',
'menu.settings' => 'Settings',
'menu.shared' => 'Shared Files',
@@ -524,14 +525,6 @@ return [
'popup_upload_limit.title' => 'You exceed upload limit on single file',
'popup_zipping.message' => 'Please wait until your files start downloading.',
'popup_zipping.title' => 'Zipping Your Files...',
'popup_2fa.title' => 'Confirm Your Password',
'popup_2fa.input_label' => 'Password',
'popup_2fa.placeholder' => 'Type your password',
'popup_2fa.help' => 'Scan the image above with the two-factor authentication app on your phone.',
'popup_2fa.confirm_button' => 'Confirm',
'popup_2fa.switch_info' => 'Here you can improve your account security by turn on 2fa verification.',
'popup_2fa.toaster_enabled' => 'Your 2FA was enabled successfully!',
'popup_2fa.toaster_disabled' => 'Your 2FA was disabled!',
'preview_sorting.grid_view' => 'Grid View',
'preview_sorting.list_view' => 'List View',
'preview_sorting.preview_sorting_button' => 'View',
@@ -691,5 +684,24 @@ return [
'app_touch_icon' => 'App Touch Icon',
'app_touch_icon_description' => 'If user store bookmark on his phone screen, this icon appear in app thumbnail. Preferred size is 156x156',
'select_search_placeholder' => 'Search in list...',
'2fa.settings.title' => 'Two Factor Authentication',
'popup_2fa.title' => 'Confirm Your Password',
'popup_2fa.input_label' => 'Password',
'popup_2fa.placeholder' => 'Type your password',
'popup_2fa.help' => 'Scan the image above with the <b class="text-theme">two-factor authentication app</b> on your phone.',
'popup_2fa.confirm_button' => 'Confirm',
'popup_2fa.disappear_qr' => 'Really disappear this QR code?',
'popup_2fa.toaster_enabled' => 'Your 2FA was enabled successfully!',
'popup_2fa.toaster_disabled' => 'Your 2FA was disabled!',
'popup_2fa.switch_title' => 'Enable / Disable Two Factor Authentication',
'popup_2fa.switch_info' => 'Here you can improve your account security by turn on 2fa verification.',
'popup_2fa.codes_title' => 'Show Recovery Codes',
'popup_2fa.codes_info' => 'Recovery codes can be used to access your account in the event you lose access to your device and cannot receive two-factor authentication codes.',
'popup_2fa.codes_button' => 'Show Codes',
'popup_2fa.popup_codes_title' => 'Your Security Codes',
'popup_2fa.popup_codes_disclaimer' => '<b class="text-theme">Put these in a safe spot.</b> If you lose your device and dont have the recovery codes you will lose access to your account.',
'context_menu.codes_regenerate' => 'Regenerate Codes',
'popup_2fa.toaster_codes_copied' => 'Your codes was copied!',
'popup_2fa.toaster_codes_regenerated' => 'Your codes was regenerated!',
],
];