mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +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>"
|
||||
"<head><title>Home Assistant</title></head>"
|
||||
"<body>"
|
||||
"<form action='/' method='GET'>"
|
||||
"<form action='{}' method='GET'>"
|
||||
"API password: <input name='api_password' />"
|
||||
"<input type='submit' value='submit' />"
|
||||
"</form>"
|
||||
"</body></html>"))
|
||||
"</body></html>").format(self.path))
|
||||
|
||||
return False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user