diff --git a/login.go b/login.go index 78de374..0012fb1 100644 --- a/login.go +++ b/login.go @@ -220,6 +220,7 @@ type LoginFormData struct { WrongUser bool WrongPass bool ErrorMessage string + Login bool } func handleLogin(w http.ResponseWriter, r *http.Request) *LoginInfo { diff --git a/templates/layout.html b/templates/layout.html index 1ebe9fa..24a3977 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -55,8 +55,26 @@ -