This commit is contained in:
parent
6d5c7141fb
commit
eee5cb2fef
@ -353,8 +353,6 @@ func verifySecure(pwdHash, pluginName string, req *http.Request) error {
|
|||||||
return ErrInsecureWebhook
|
return ErrInsecureWebhook
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Println(string(pwd))
|
|
||||||
|
|
||||||
if err := bcrypt.CompareHashAndPassword([]byte(pwdHash), pwd); err != nil {
|
if err := bcrypt.CompareHashAndPassword([]byte(pwdHash), pwd); err != nil {
|
||||||
return ErrIncorrectPassword
|
return ErrIncorrectPassword
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user