Skip to content

Commit

Permalink
Fixed issue #761
Browse files Browse the repository at this point in the history
Signed-off-by: Madison Kelly <[email protected]>
  • Loading branch information
digimer-bot committed Feb 10, 2025
1 parent 25688c8 commit e9649d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/anvil-change-password
Original file line number Diff line number Diff line change
Expand Up @@ -703,12 +703,12 @@ sub update_passwords
}

# Update our anvil.conf and all the other machines in the cluster.
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 1, 'print' => 1, key => "message_0027", variables => { file => $anvil->data->{switches}{'new-password'} }});
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 1, 'print' => 1, key => "message_0027", variables => { file => $anvil->data->{path}{configs}{'anvil.conf'} }});
$anvil->Storage->update_config({
debug => 2,
secure => 1,
variable => "database::${host_uuid}::password",
value => $anvil->data->{switches}{'new-password'},
value => $anvil->data->{switches}{'new-password'},
});
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 1, 'print' => 1, key => "message_0025"});

Expand Down

0 comments on commit e9649d5

Please sign in to comment.