Renaming ipadress - ip_address

Bugfix user table
Result testrun
Updated cn translation
This commit is contained in:
Ozzie Isaacs
2021-04-26 19:03:01 +02:00
parent 4e3a5ca33b
commit 144c2b5fc7
9 changed files with 620 additions and 470 deletions
+2 -2
View File
@@ -546,8 +546,8 @@ def check_auth(username, password):
if bool(user and check_password_hash(str(user.password), password)):
return True
else:
ipAdress = request.headers.get('X-Forwarded-For', request.remote_addr)
log.warning('OPDS Login failed for user "%s" IP-address: %s', username.decode('utf-8'), ipAdress)
ip_Address = request.headers.get('X-Forwarded-For', request.remote_addr)
log.warning('OPDS Login failed for user "%s" IP-address: %s', username.decode('utf-8'), ip_Address)
return False