📣 An issue occured with the embedded container registry on October 25 2021, between 10:30 and 12:10 (UTC+2). Any persisting issues should be reported to CC-IN2P3 Support. 🐛

Commit 3192315c authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Polish controllers/default.py.

parent 580ead46
......@@ -13,7 +13,7 @@ def index():
if session.auth:
roles = list(session.auth.user_groups.values())
if roles:
if len(roles) > 0:
session.role = roles[0]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment