mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Fix missing Host in login logs for Firefox
This commit is contained in:
parent
a0106874e2
commit
a15d225a5f
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ class AuthController(object):
|
|||
|
||||
# Save login to the database
|
||||
ip_address = cherrypy.request.headers.get('X-Forwarded-For', cherrypy.request.headers.get('Remote-Addr'))
|
||||
host = cherrypy.request.headers.get('Origin')
|
||||
host = cherrypy.request.headers.get('Host', cherrypy.request.headers.get('Origin'))
|
||||
user_agent = cherrypy.request.headers.get('User-Agent')
|
||||
|
||||
Users().set_user_login(user_id=user_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue