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:
parent
e90ad0c1cd
commit
a063a89c57
|
@ -48,7 +48,7 @@ class BaseSettings extends BaseModule
|
||||||
'label' => DI::l10n()->t('Two-factor authentication'),
|
'label' => DI::l10n()->t('Two-factor authentication'),
|
||||||
'url' => 'settings/2fa',
|
'url' => 'settings/2fa',
|
||||||
'selected' => ((DI::args()->getArgc() > 1) && (DI::args()->getArgv()[1] === '2fa') ? 'active' : ''),
|
'selected' => ((DI::args()->getArgc() > 1) && (DI::args()->getArgv()[1] === '2fa') ? 'active' : ''),
|
||||||
'accesskey' => 'o',
|
'accesskey' => '2',
|
||||||
];
|
];
|
||||||
|
|
||||||
$tabs[] = [
|
$tabs[] = [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user