Skip to content

Commit aefc062

Browse files
committed
change md5 per default
1 parent f21f15e commit aefc062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/functions/postgresql/postgresql_password.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
return_type 'Variant[String, Sensitive[String]]'
2727
end
2828

29-
def default_impl(username, password, hash, sensitive = false, salt = nil)
29+
def default_impl(username, password, hash = 'md5', sensitive = false, salt = nil)
3030
password = password.unwrap if password.respond_to?(:unwrap)
3131
pass = if hash == 'md5'
3232
'md5' + Digest::MD5.hexdigest(password.to_s + username.to_s)

0 commit comments

Comments
 (0)