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

fixed bug in __init.py for ok state

parent 4d5779f7
Pipeline #6108 failed with stage
......@@ -59,6 +59,10 @@ def create_app(config_name):
fullname=session['user'].get('fullname'), email=session['user'].get('email'),
referrer=session['return_url'], cancel_url=vars.default_referrer,
cancel_msg=messages.cancel_message, certification_message=messages.certification_message)
if rc_util.check_state(session['user'].get('username')) == "ok":
return render_template('account/landing.html')
else:
return render_template('auth/SignUp.html', room_id=session['uid'],
username=session['user'].get('username'),
......
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