lets-go: fix errant/unwanted UI text
This commit is contained in:
parent
4f7fcf863c
commit
ba6bf1a682
@ -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)
|
||||
}
|
||||
|
@ -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}}
|
||||
|
Loading…
Reference in New Issue
Block a user