mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
HTTP login form goes to original requested page
This commit is contained in:
parent
92f0cb20ff
commit
63a1dfc64f
@ -240,11 +240,11 @@ class RequestHandler(BaseHTTPRequestHandler):
|
|||||||
"<html>"
|
"<html>"
|
||||||
"<head><title>Home Assistant</title></head>"
|
"<head><title>Home Assistant</title></head>"
|
||||||
"<body>"
|
"<body>"
|
||||||
"<form action='/' method='GET'>"
|
"<form action='{}' method='GET'>"
|
||||||
"API password: <input name='api_password' />"
|
"API password: <input name='api_password' />"
|
||||||
"<input type='submit' value='submit' />"
|
"<input type='submit' value='submit' />"
|
||||||
"</form>"
|
"</form>"
|
||||||
"</body></html>"))
|
"</body></html>").format(self.path))
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user