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

1. Renamed state blocked to hold

2. Renamed page blocked.html to hold.html
parent 074dbdb9
......@@ -50,8 +50,8 @@ def create_app(config_name):
if (not any(item in session['user'].get('eppa') for item in valid_eppa)):
return render_template('account/unauthorized.html', unauthorized_msg=messages.unauthorized_message)
if rc_util.check_state(session['user'].get('username')) == "blocked":
return render_template('account/blocked.html', unauthorized_msg=messages.unauthorized_message)
if rc_util.check_state(session['user'].get('username')) == "hold":
return render_template('account/hold.html', unauthorized_msg=messages.unauthorized_message)
elif rc_util.check_state(session['user'].get('username')) == "certification":
return render_template('account/certify.html', room_id=session['uid'],
......
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