mirror of
https://github.com/friendica/friendica
synced 2024-11-17 22:23:41 +00:00
Merge pull request #14484 from nupplaphil/fix/2f_app_specific
QuickFix: 2FA - App specific password
This commit is contained in:
commit
e8ab8a84af
2 changed files with 19 additions and 17 deletions
|
@ -77,7 +77,8 @@ class AppSpecific extends BaseSettings
|
||||||
$this->baseUrl->redirect('settings/2fa/app_specific?t=' . self::getFormSecurityToken('settings_2fa_password'));
|
$this->baseUrl->redirect('settings/2fa/app_specific?t=' . self::getFormSecurityToken('settings_2fa_password'));
|
||||||
} else {
|
} else {
|
||||||
$this->appSpecificPassword = AppSpecificPassword::generateForUser($this->session->getLocalUserId(), $request['description'] ?? '');
|
$this->appSpecificPassword = AppSpecificPassword::generateForUser($this->session->getLocalUserId(), $request['description'] ?? '');
|
||||||
$this->systemMessages->addInfo($this->t('New app-specific password generated.'));
|
$this->systemMessages->addInfo($this->t('New app-specific password generated: %s', $this->appSpecificPassword['plaintext_password']));
|
||||||
|
$this->baseUrl->redirect('settings/2fa/app_specific?t=' . self::getFormSecurityToken('settings_2fa_password'));
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: 2024.09-rc\n"
|
"Project-Id-Version: 2024.09-rc\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2024-10-20 08:32+0000\n"
|
"POT-Creation-Date: 2024-10-20 19:53+0000\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -2035,7 +2035,7 @@ msgid "Create an account"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Nav.php:247 src/Module/Help.php:53
|
#: src/Content/Nav.php:247 src/Module/Help.php:53
|
||||||
#: src/Module/Settings/TwoFactor/AppSpecific.php:118
|
#: src/Module/Settings/TwoFactor/AppSpecific.php:119
|
||||||
#: src/Module/Settings/TwoFactor/Index.php:125
|
#: src/Module/Settings/TwoFactor/Index.php:125
|
||||||
#: src/Module/Settings/TwoFactor/Recovery.php:96
|
#: src/Module/Settings/TwoFactor/Recovery.php:96
|
||||||
#: src/Module/Settings/TwoFactor/Verify.php:135 view/theme/vier/theme.php:228
|
#: src/Module/Settings/TwoFactor/Verify.php:135 view/theme/vier/theme.php:228
|
||||||
|
@ -9565,7 +9565,7 @@ msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Channels.php:177 src/Module/Settings/Channels.php:198
|
#: src/Module/Settings/Channels.php:177 src/Module/Settings/Channels.php:198
|
||||||
#: src/Module/Settings/Display.php:335
|
#: src/Module/Settings/Display.php:335
|
||||||
#: src/Module/Settings/TwoFactor/AppSpecific.php:123
|
#: src/Module/Settings/TwoFactor/AppSpecific.php:124
|
||||||
msgid "Description"
|
msgid "Description"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -10427,54 +10427,55 @@ msgid "App-specific password generation failed: This description already exists.
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/TwoFactor/AppSpecific.php:80
|
#: src/Module/Settings/TwoFactor/AppSpecific.php:80
|
||||||
msgid "New app-specific password generated."
|
#, php-format
|
||||||
|
msgid "New app-specific password generated: %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/TwoFactor/AppSpecific.php:86
|
#: src/Module/Settings/TwoFactor/AppSpecific.php:87
|
||||||
msgid "App-specific passwords successfully revoked."
|
msgid "App-specific passwords successfully revoked."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/TwoFactor/AppSpecific.php:96
|
#: src/Module/Settings/TwoFactor/AppSpecific.php:97
|
||||||
msgid "App-specific password successfully revoked."
|
msgid "App-specific password successfully revoked."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/TwoFactor/AppSpecific.php:117
|
#: src/Module/Settings/TwoFactor/AppSpecific.php:118
|
||||||
msgid "Two-factor app-specific passwords"
|
msgid "Two-factor app-specific passwords"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/TwoFactor/AppSpecific.php:119
|
#: src/Module/Settings/TwoFactor/AppSpecific.php:120
|
||||||
msgid "<p>App-specific passwords are randomly generated passwords used instead your regular password to authenticate your account on third-party applications that don't support two-factor authentication.</p>"
|
msgid "<p>App-specific passwords are randomly generated passwords used instead your regular password to authenticate your account on third-party applications that don't support two-factor authentication.</p>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/TwoFactor/AppSpecific.php:120
|
#: src/Module/Settings/TwoFactor/AppSpecific.php:121
|
||||||
msgid "Make sure to copy your new app-specific password now. You won’t be able to see it again!"
|
msgid "Make sure to copy your new app-specific password now. You won’t be able to see it again!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/TwoFactor/AppSpecific.php:124
|
#: src/Module/Settings/TwoFactor/AppSpecific.php:125
|
||||||
msgid "Last Used"
|
msgid "Last Used"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/TwoFactor/AppSpecific.php:125
|
#: src/Module/Settings/TwoFactor/AppSpecific.php:126
|
||||||
msgid "Revoke"
|
msgid "Revoke"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/TwoFactor/AppSpecific.php:126
|
#: src/Module/Settings/TwoFactor/AppSpecific.php:127
|
||||||
msgid "Revoke All"
|
msgid "Revoke All"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/TwoFactor/AppSpecific.php:129
|
#: src/Module/Settings/TwoFactor/AppSpecific.php:130
|
||||||
msgid "When you generate a new app-specific password, you must use it right away, it will be shown to you once after you generate it."
|
msgid "When you generate a new app-specific password, you must use it right away, it will be shown to you once after you generate it."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/TwoFactor/AppSpecific.php:130
|
#: src/Module/Settings/TwoFactor/AppSpecific.php:131
|
||||||
msgid "Generate new app-specific password"
|
msgid "Generate new app-specific password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/TwoFactor/AppSpecific.php:131
|
#: src/Module/Settings/TwoFactor/AppSpecific.php:132
|
||||||
msgid "Friendiqa on my Fairphone 2..."
|
msgid "Friendiqa on my Fairphone 2..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/TwoFactor/AppSpecific.php:132
|
#: src/Module/Settings/TwoFactor/AppSpecific.php:133
|
||||||
msgid "Generate"
|
msgid "Generate"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue