Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleForgotPassword ¶
func HandleForgotPassword(w http.ResponseWriter, r *http.Request)
HandleForgotPassword handles GET and POST for /oauth2/forgot-password. GET renders the form. POST looks up the user, creates a reset token, and sends the email.
func HandleResetPassword ¶
func HandleResetPassword(w http.ResponseWriter, r *http.Request)
HandleResetPassword handles GET and POST for /oauth2/reset-password. GET renders the new-password form. POST validates the token and updates the password.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.