diff --git a/app/__init__.py b/app/__init__.py index cc2b989d94580ab41df2593ec22a4a9bb05e5a8d..7bab4dfb8e2e4a6910305b22636a1a3ad1a48c49 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -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'], diff --git a/app/templates/account/blocked.html b/app/templates/account/hold.html similarity index 100% rename from app/templates/account/blocked.html rename to app/templates/account/hold.html