lets-go: fix errant/unwanted UI text

This commit is contained in:
tamsin johnson 2024-02-08 09:32:19 -08:00
parent 4f7fcf863c
commit ba6bf1a682
2 changed files with 1 additions and 2 deletions

View File

@ -216,7 +216,6 @@ func (app *application) userLoginPost(w http.ResponseWriter, r *http.Request) {
}
app.sessionManager.Put(r.Context(), "authenticatedUserID", userID)
app.sessionManager.Put(r.Context(), "flash", fmt.Sprintf("LOGGED IN USER %d!", userID))
http.Redirect(w, r, "/", http.StatusSeeOther)
}

View File

@ -7,7 +7,7 @@
<div class="error">{{.}}</div>
{{end}}
<div>
<label>Username:</label>
<label>Email:</label>
{{with .Form.FieldErrors.email}}
<label class='error'>{{.}}</label>
{{end}}