Remove test comment in c9c5989

This commit is contained in:
JonnyWong16 2018-03-13 09:09:27 -07:00
parent c9c5989474
commit 7e024fd736

View file

@ -220,7 +220,7 @@ class AuthController(object):
# Save login to the database # Save login to the database
ip_address = cherrypy.request.headers.get('X-Forwarded-For', cherrypy.request.headers.get('Remote-Addr')) ip_address = cherrypy.request.headers.get('X-Forwarded-For', cherrypy.request.headers.get('Remote-Addr'))
host = None #cherrypy.request.headers.get('Origin') host = cherrypy.request.headers.get('Origin')
if not host: if not host:
scheme = cherrypy.request.headers.get('X-Forwarded-Proto', 'http') scheme = cherrypy.request.headers.get('X-Forwarded-Proto', 'http')
address = cherrypy.request.headers.get('X-Forwarded-Host', cherrypy.request.headers.get('Host')) address = cherrypy.request.headers.get('X-Forwarded-Host', cherrypy.request.headers.get('Host'))