Skip to content

Commit 263013a

Browse files
committed
Fix
1 parent f3d3093 commit 263013a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/middlewared/middlewared/plugins/account.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,7 @@ def migrate_root(self, job, data):
12391239
subprocess.run(
12401240
['truenas-set-authentication-method.py'],
12411241
check=True, encoding='utf-8', errors='ignore',
1242-
input=json.dumps({'username': username, 'password': crypted_password(password)})
1242+
input=json.dumps({'username': username, 'password': password_hash})
12431243
)
12441244
new_user = self.middleware.call_sync('user.query', [['uid', '=', ADMIN_UID]], {'get': True})
12451245

0 commit comments

Comments
 (0)