diff --git a/app/__init__.py b/app/__init__.py index 88e1894fe9ac5ca42a034f4d8b46a9c802a51451..cb5e72fb593ddd97e5d02021c49c99372bd8fa9c 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -92,6 +92,8 @@ def create_app(config_name): if ( 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", diff --git a/tasks.py b/tasks.py index d535eb9ccaf545450275862be7067f72e95c77ec..6e4b2d6e533436bf62fcf507c1ccf15d7f9b58e7 100644 --- a/tasks.py +++ b/tasks.py @@ -146,7 +146,6 @@ def celery_create_account(msg, session): This function is used to create account for new users Input: json, string: json object of all user attributes and session/room - msg: json object of all user attributes and session/room Output: gen_f(room): callback to check for success or failure """