We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37b0ee7 commit a6fbd2fCopy full SHA for a6fbd2f
api/user/user.go
@@ -12,6 +12,7 @@ import (
12
13
func encryptPassword(ctx *cosy.Ctx[model.User]) {
14
if ctx.Payload["password"] == nil {
15
+ delete(ctx.Payload, "password")
16
return
17
}
18
pwd := ctx.Payload["password"].(string)
0 commit comments