Remove error from login page
A global variable might show up on the login page, remove it.
This commit is contained in:
parent
226580f088
commit
d2e2f41dfb
|
@ -724,7 +724,9 @@ function login(req)
|
||||||
if method == "GET" then
|
if method == "GET" then
|
||||||
--Just give them the login page
|
--Just give them the login page
|
||||||
text = render(host..path,function()
|
text = render(host..path,function()
|
||||||
return pages.login{}
|
return pages.login{
|
||||||
|
err = "",
|
||||||
|
}
|
||||||
end)
|
end)
|
||||||
elseif method == "POST" then
|
elseif method == "POST" then
|
||||||
--Try to log in
|
--Try to log in
|
||||||
|
|
Loading…
Reference in New Issue