Add two-factor authentication settings

- Add settings aside menu entry
- Add two-factor authentication documentation
This commit is contained in:
Hypolite Petovan 2019-05-13 01:38:15 -04:00
parent d7e9b91181
commit 8e885f5b97
10 changed files with 600 additions and 0 deletions

View file

@ -67,6 +67,13 @@ function settings_init(App $a)
],
];
$tabs[] = [
'label' => L10n::t('Two-factor authentication'),
'url' => 'settings/2fa',
'selected' => (($a->argc > 1) && ($a->argv[1] === '2fa') ? 'active' : ''),
'accesskey' => 'o',
];
$tabs[] = [
'label' => L10n::t('Profiles'),
'url' => 'profiles',