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.
This commit is contained in:
Tobias Diekershoff 2022-06-19 06:30:00 +02:00
parent e90ad0c1cd
commit a063a89c57
Signed by: tobias
GPG key ID: 25FE376FF17694A1

View 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[] = [