Skip to content
Snippets Groups Projects
Unverified Commit 3554008c authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Show root menu only if user is authenticated.

parent 9cc7f6c4
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,7 @@ MENUS = { ...@@ -6,6 +6,7 @@ MENUS = {
'name': _('Timetables'), 'name': _('Timetables'),
'url': '#', 'url': '#',
'root': True, 'root': True,
'validators': ['menu_generator.validators.is_authenticated'],
'submenu': [ 'submenu': [
{ {
'name': _('Timetable'), 'name': _('Timetable'),
......
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