Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anodos325 committed Jan 20, 2025
1 parent f3d3093 commit 263013a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ def migrate_root(self, job, data):
subprocess.run(
['truenas-set-authentication-method.py'],
check=True, encoding='utf-8', errors='ignore',
input=json.dumps({'username': username, 'password': crypted_password(password)})
input=json.dumps({'username': username, 'password': password_hash})
)
new_user = self.middleware.call_sync('user.query', [['uid', '=', ADMIN_UID]], {'get': True})

Expand Down

0 comments on commit 263013a

Please sign in to comment.