Bugfix on forgot password screen
This commit is contained in:
parent
e06bf2f9c4
commit
e6c08cf0d3
|
@ -147,6 +147,11 @@ func ForgotPassword() http.HandlerFunc {
|
|||
}); err != nil {
|
||||
session.FlashError(w, r, "Error sending an email: %s", err)
|
||||
}
|
||||
|
||||
// Success message and redirect away.
|
||||
session.Flash(w, r, vagueSuccessMessage)
|
||||
templates.Redirect(w, r.URL.Path)
|
||||
return
|
||||
}
|
||||
|
||||
var vars = map[string]interface{}{
|
||||
|
|
Reference in New Issue
Block a user