Skip to content
Snippets Groups Projects
Commit 6fd3eae1 authored by Ravi Tripathi's avatar Ravi Tripathi
Browse files

Adding pre_certification state for certification page

parent aa594b2e
No related branches found
No related tags found
1 merge request!51Adding pre_certification state for certification page
...@@ -53,7 +53,7 @@ def create_app(config_name): ...@@ -53,7 +53,7 @@ def create_app(config_name):
if rc_util.check_state(session['user'].get('username')) == "hold": if rc_util.check_state(session['user'].get('username')) == "hold":
return render_template('account/hold.html', account_hold_msg=messages.account_hold_message) return render_template('account/hold.html', account_hold_msg=messages.account_hold_message)
elif rc_util.check_state(session['user'].get('username')) == "certification": elif rc_util.check_state(session['user'].get('username')) == "certification" or rc_util.check_state(session['user'].get('username')) == "pre_certification":
return render_template('account/certify.html', room_id=session['uid'], return render_template('account/certify.html', room_id=session['uid'],
username=session['user'].get('username'), username=session['user'].get('username'),
fullname=session['user'].get('fullname'), email=session['user'].get('email'), fullname=session['user'].get('fullname'), email=session['user'].get('email'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment