Remove error from login page

A global variable might show up on the login page, remove it.
This commit is contained in:
Robin Malley 2020-05-19 17:12:44 -04:00
parent 226580f088
commit d2e2f41dfb
1 changed files with 3 additions and 1 deletions

View File

@ -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