Commit b4097f60 authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

removed user_authorization shibboleth if condition

parent 8f4ab612
Pipeline #5890 canceled with stage
...@@ -48,8 +48,8 @@ def create_app(config_name): ...@@ -48,8 +48,8 @@ def create_app(config_name):
session['return_url'] = request.args.get('redir', vars.default_referrer) session['return_url'] = request.args.get('redir', vars.default_referrer)
if (not any(item in session['user'].get('eppa') for item in valid_eppa)): # if (not any(item in session['user'].get('eppa') for item in valid_eppa)):
return render_template('errors/shibboleth.html') # return render_template('errors/shibboleth.html')
if rc_util.check_state(session['user'].get('username')) == "blocked": if rc_util.check_state(session['user'].get('username')) == "blocked":
return render_template('errors/blocked.html') return render_template('errors/blocked.html')
......
Supports Markdown
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