]> git.mxchange.org Git - friendica.git/blobdiff - mod/settings.php
Merge pull request #7186 from MrPetovan/bug/7183-archives-profile-widget
[friendica.git] / mod / settings.php
index 536c8335422124f6ba1ffd5291d7c31234832c55..45f11cdb6c3f3ff89e69ad9899b986ca1e74bcb5 100644 (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',