feat: use only one salt arg in CredManager.IsPasswordCorrect() (#3936)

This commit is contained in:
raiki02
2025-07-07 17:56:25 +08:00
committed by GitHub
parent b42391c6ce
commit 9bbe5afb7c
10 changed files with 15 additions and 27 deletions

View File

@@ -25,6 +25,6 @@ func (cm *PlainCredManager) GetHashedPassword(password string, salt string) stri
return password
}
func (cm *PlainCredManager) IsPasswordCorrect(plainPwd string, hashedPwd string, userSalt string, organizationSalt string) bool {
func (cm *PlainCredManager) IsPasswordCorrect(plainPwd string, hashedPwd string, salt string) bool {
return hashedPwd == plainPwd
}