Add changing email for users

This commit is contained in:
kolaente 2020-04-17 16:01:45 +02:00
parent e1ab2095fa
commit 1dca8e96a7
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
6 changed files with 164 additions and 7 deletions

View file

@ -206,6 +206,7 @@ func registerAPIRoutes(a *echo.Group) {
a.POST("/user/password", apiv1.UserChangePassword)
a.GET("/users", apiv1.UserList)
a.POST("/user/token", apiv1.RenewToken)
a.POST("/user/settings/email", apiv1.UpdateUserEmail)
listHandler := &handler.WebHandler{
EmptyStruct: func() handler.CObject {