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
No known key found for this signature in database
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[] = [