Skip to content

Commit

Permalink
Added fix for first login disable after password change
Browse files Browse the repository at this point in the history
  • Loading branch information
myoung34 committed May 26, 2016
1 parent 5ab92e9 commit ddbfdf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/mirthconnect.pp
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
}

exec { 'set mirthconnect password':
command => 'sleep 60; /opt/mirthconnect/mccommand -u admin -p admin -s /tmp/mirthconnect_pw_reset',
command => 'sleep 60; /opt/mirthconnect/mccommand -u admin -p admin -s /tmp/mirthconnect_pw_reset; mysql -uroot mirthdb -e "update person_preference set VALUE=\'false\' where NAME=\'firstlogin\';"',
path => $::path,
refreshonly => true,
subscribe => File['/tmp/mirthconnect_pw_reset'],
Expand Down

0 comments on commit ddbfdf0

Please sign in to comment.