modified status for password setting to be available
MODIFY
src/async-task/tasks/ImportAsyncTask.ts
src/async-task/tasks/ImportAsyncTask.ts
@@ -54,7 +54,7 @@ export default class ImportAsyncTask extends AbstractAsyncTask {
// Role need to be set separately
await UserStorage.saveUserRole(tenant.id, newUser.id, UserRole.BASIC);
// Status need to be set separately
- await UserStorage.saveUserStatus(tenant.id, newUser.id, importedUser.importedData.autoActivateUserAtImport ? UserStatus.ACTIVE : UserStatus.INACTIVE);
+ await UserStorage.saveUserStatus(tenant.id, newUser.id, UserStatus.PENDING);
await this.sendNotifications(tenant, newUser);
return newUser;
}

modified status for password setting to be available