You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UI overhaul, user login added, removed dependence on GC
UI overhauled to a less cluttered and confusing
User login section has been added to move away from using GC username as a user identifier across the app.
print((str(datetime.datetime.now()) +' ['+sys._getframe().f_code.co_name+']'+' Error on line {}'.format(sys.exc_info()[-1].tb_lineno) +' '+str(error)))
57
+
returnNone
58
+
finally:
59
+
ifconn_localhostisnotNone:
60
+
conn_localhost.close()
61
+
returnath_un
62
+
63
+
defath_auth_login(ath_un,ath_pw,encr_pass):
64
+
65
+
sql_select_usr_pwd="SELECT ath_pw FROM db_info WHERE ath_un = %s;"
print((str(datetime.datetime.now()) +' ['+sys._getframe().f_code.co_name+']'+' Error on line {}'.format(sys.exc_info()[-1].tb_lineno) +' '+str(error)))
90
+
returnNone
91
+
finally:
92
+
ifconn_localhostisnotNone:
93
+
conn_localhost.close()
94
+
95
+
defath_auth_reset(ath_un,ath_pw,encr_pass):
96
+
97
+
sql_update_usr_pwd="UPDATE db_info SET ath_pw = %s where ath_un= %s;"
print((str(datetime.datetime.now()) +' ['+sys._getframe().f_code.co_name+']'+' Error on line {}'.format(sys.exc_info()[-1].tb_lineno) +' '+str(error)))
0 commit comments