Create/change account password (#156)

This commit is contained in:
Thomas Miceli
2023-11-21 02:03:28 +09:00
committed by GitHub
parent dcacde0959
commit d518a44d32
4 changed files with 72 additions and 1 deletions

View File

@ -218,6 +218,7 @@ func NewServer(isDev bool) *Server {
g1.DELETE("/settings/account", accountDeleteProcess, logged)
g1.POST("/settings/ssh-keys", sshKeysProcess, logged)
g1.DELETE("/settings/ssh-keys/:id", sshKeysDelete, logged)
g1.PUT("/settings/password", passwordProcess, logged)
g2 := g1.Group("/admin-panel")
{