Skip to content

Commit

Permalink
admin: oops, remove old byte sending
Browse files Browse the repository at this point in the history
  • Loading branch information
ezrichards committed Mar 3, 2024
1 parent 051bf7e commit 3bea19c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,6 @@ func (a *Application) HandleAdminLogin(w http.ResponseWriter, r *http.Request) {
log.Info().Msg("sent email")
http.SetCookie(w, &http.Cookie{Name: "admin_email", Value: emailAddress, Path: "/"})
a.ConfirmEmailRenderer(w, r, map[string]any{"Email": emailAddress})

// w.Write([]byte("check your email for a login link"))
}
}

Expand Down

0 comments on commit 3bea19c

Please sign in to comment.