mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
userpage: password resets
click "forgot password" on login modal, enter a contact method address/username, submit and check for a link. Requires link reset to be enabled.
This commit is contained in:
@@ -148,6 +148,7 @@ func (app *appContext) loadRoutes(router *gin.Engine) {
|
||||
router.GET(p+"/my/token/login", app.getUserTokenLogin)
|
||||
router.GET(p+"/my/token/refresh", app.getUserTokenRefresh)
|
||||
router.GET(p+"/my/confirm/:jwt", app.ConfirmMyAction)
|
||||
router.POST(p+"/my/password/reset/:address", app.ResetMyPassword)
|
||||
}
|
||||
}
|
||||
if *SWAGGER {
|
||||
|
||||
Reference in New Issue
Block a user