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

Show root menu only if user is authenticated.

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