mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	fix: cli password reset
This commit is contained in:
		| @@ -216,6 +216,7 @@ ${pwGenerated ? ` Generated password: ${password}` : ''}`); | ||||
| 		const adminUid = await getAdminUidOrFail(); | ||||
|  | ||||
| 		if (password) { | ||||
| 			await user.setUserField(uid, 'password', ''); | ||||
| 			await user.changePassword(adminUid, { | ||||
| 				newPassword: password, | ||||
| 				uid, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user