fix: cli password reset

isekai-main
Barış Soner Uşaklı 3 years ago
parent f11bc33ac5
commit 71e34be565

@ -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,

Loading…
Cancel
Save