Skip to content
Snippets Groups Projects
Verified Commit 92186389 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Add entries to menu.

parent 5ac81910
No related branches found
No related tags found
1 merge request!59Resolve "2FA"
...@@ -14,13 +14,18 @@ MENUS = { ...@@ -14,13 +14,18 @@ MENUS = {
}, },
{ {
'name': _('Login'), 'name': _('Login'),
'url': 'login', 'url': 'two_factor:login',
'validators': ['menu_generator.validators.is_anonymous'] 'validators': ['menu_generator.validators.is_anonymous']
}, },
{ {
'name': _('Logout'), 'name': _('Logout'),
'url': 'logout', 'url': 'logout',
'validators': ['menu_generator.validators.is_authenticated'] 'validators': ['menu_generator.validators.is_authenticated']
},
{
'name': _('Two factor auth'),
'url': 'two_factor:profile',
'validators': ['menu_generator.validators.is_authenticated']
} }
] ]
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment