.BANCHO. Log user ip in pep.py on login
This commit is contained in:
@@ -51,6 +51,9 @@ def handle(flaskRequest):
|
||||
# Banned
|
||||
raise exceptions.loginBannedException()
|
||||
|
||||
# Log user IP
|
||||
userHelper.IPLog(userID, requestIP)
|
||||
|
||||
# No login errors!
|
||||
# Delete old tokens for that user and generate a new one
|
||||
glob.tokens.deleteOldTokens(userID)
|
||||
|
Reference in New Issue
Block a user