From 090e5938f6340913106758cbc42332a643ac7167 Mon Sep 17 00:00:00 2001
From: Krish M <krish94@uab.edu>
Date: Thu, 19 May 2022 21:41:33 -0500
Subject: [PATCH] changed state hold back to original state- blocked

---
 app/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/__init__.py b/app/__init__.py
index aba5b71..f993f24 100644
--- a/app/__init__.py
+++ b/app/__init__.py
@@ -50,7 +50,7 @@ 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')) == "hold":
+        if rc_util.check_state(session['user'].get('username')) == "blocked":
             return render_template('account/hold.html', account_hold_msg=messages.account_hold_message)
 
         elif rc_util.check_state(session['user'].get('username')) == "certification":
-- 
GitLab