fix: webauthn logspam (#6181)
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user