admin: add manual "Send Password reset" to accounts tab
Only appears with Reset links enabled. Pressing this sends a PWR link to the users selected. if one user is selected, or if one of you selected users doesn't have a method of contact, a link is given to the admin to send to them manually.
This commit is contained in:
@@ -169,6 +169,8 @@ func (app *appContext) loadRoutes(router *gin.Engine) {
|
||||
api.GET(p+"/users/announce/:name", app.GetAnnounceTemplate)
|
||||
api.DELETE(p+"/users/announce/:name", app.DeleteAnnounceTemplate)
|
||||
|
||||
api.POST(p+"/users/password-reset", app.AdminPasswordReset)
|
||||
|
||||
api.GET(p+"/config/update", app.CheckUpdate)
|
||||
api.POST(p+"/config/update", app.ApplyUpdate)
|
||||
api.GET(p+"/config/emails", app.GetCustomEmails)
|
||||
|
||||
Reference in New Issue
Block a user