We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 009db16 commit 1111964Copy full SHA for 1111964
pkg/util/util.go
@@ -41,7 +41,7 @@ func NameFromMeta(meta v1.ObjectMeta) spec.NamespacedName {
41
}
42
43
func PGUserPassword(user spec.PgUser) string {
44
- if (len(user.Password) == md5.Size && user.Password[:3] == md5prefix) || user.Password == "" {
+ if (len(user.Password) == md5.Size*2+len(md5prefix) && user.Password[:3] == md5prefix) || user.Password == "" {
45
// Avoid processing already encrypted or empty passwords
46
return user.Password
47
0 commit comments