mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-24 11:07:02 +08:00
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