fix: webauthn logspam (#6181)

This commit is contained in:
itsHenry
2024-03-10 16:48:25 +08:00
committed by GitHub
parent 82222840fe
commit bdfc1591bd
2 changed files with 20 additions and 0 deletions

View File

@ -41,6 +41,7 @@ func CreateUser(c *gin.Context) {
}
req.SetPassword(req.Password)
req.Password = ""
req.Authn = "[]"
if err := op.CreateUser(&req); err != nil {
common.ErrorResp(c, err, 500, true)
} else {