]> git.mxchange.org Git - friendica.git/commitdiff
Accesskey was used twice
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 19 Jun 2022 04:30:00 +0000 (06:30 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 19 Jun 2022 04:30:00 +0000 (06:30 +0200)
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

index 9319662550a8897fe4c630b559815a0c38a75cbe..a9bc156f121f60615dc34cfef354a6f55641ad76 100644 (file)
@@ -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[] = [