Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions manifests/server/role.pp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
$hash,
$salt,
]
)
).unwrap
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 3rd arguments should prevent the return value from being a Sensitive, so this should be noop.

}
else {
$pwd_hash_sql = postgresql::postgresql_password(
Expand All @@ -169,7 +169,7 @@
false,
$hash,
$salt,
)
).unwrap
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

}
if $pwd_hash_sql =~ Deferred {
$pw_command = Deferred('sprintf', ["ALTER ROLE \"%s\" ENCRYPTED PASSWORD '%s'", $username, $pwd_hash_sql])
Expand Down