Add username availability check and fix cursor initialization in user.py; update token validation in api_security.py
This commit is contained in:
@@ -80,6 +80,7 @@ def check_token(token):
|
||||
except Exception as e:
|
||||
logging.error("Token not the same")
|
||||
logging.error(e)
|
||||
return valid
|
||||
|
||||
|
||||
def check_validaty():
|
||||
|
||||
Reference in New Issue
Block a user