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

Use validator if user is linked with a person.

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