From a063a89c57af50fb1f3ac141bd75c753db526200 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 19 Jun 2022 06:30:00 +0200 Subject: [PATCH 1/2] Accesskey was used twice The accesskey on the User Settings pages for the _account settings_ and the _two factor authentication_ were the same. This PR is assinging a new one to the 2FA. --- src/Module/BaseSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/BaseSettings.php b/src/Module/BaseSettings.php index 9319662550..a9bc156f12 100644 --- a/src/Module/BaseSettings.php +++ b/src/Module/BaseSettings.php @@ -48,7 +48,7 @@ class BaseSettings extends BaseModule 'label' => DI::l10n()->t('Two-factor authentication'), 'url' => 'settings/2fa', 'selected' => ((DI::args()->getArgc() > 1) && (DI::args()->getArgv()[1] === '2fa') ? 'active' : ''), - 'accesskey' => 'o', + 'accesskey' => '2', ]; $tabs[] = [ From 065dad79caf81bc8fee590b5824cfb58729172b7 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 19 Jun 2022 06:33:21 +0200 Subject: [PATCH 2/2] updated the Accesskey documentation accordingly --- doc/Accesskeys.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/Accesskeys.md b/doc/Accesskeys.md index 5945412de1..f79524c1b3 100644 --- a/doc/Accesskeys.md +++ b/doc/Accesskeys.md @@ -82,6 +82,7 @@ General ../settings --------- * o - Account +* 2 - Two-factor authentication * p - Profiles * t - Additional features * w - Social Networks