Skip to content
Snippets Groups Projects
Commit f3c7439c authored by Martin Mareš's avatar Martin Mareš
Browse files

Hotfix hotfixu :-\

parent c275e86e
No related branches found
No related tags found
No related merge requests found
...@@ -189,7 +189,7 @@ def init_request(): ...@@ -189,7 +189,7 @@ def init_request():
if user.is_org or user.is_admin: if user.is_org or user.is_admin:
return redirect(url_for('org_index')) return redirect(url_for('org_index'))
elif path.startswith('/doc/'): elif path.startswith('/doc/'):
if user and user.is_org or user.is_admin: if user and (user.is_org or user.is_admin):
g.gatekeeper = mo.rights.Gatekeeper(user) g.gatekeeper = mo.rights.Gatekeeper(user)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment