small fixes
This commit is contained in:
@@ -127,9 +127,9 @@ def load_coop_managers(request):
|
||||
logging.info(f"Created Coop: {coop_data}")
|
||||
coop_counter += 1
|
||||
|
||||
coop_user = User.objects.create_user(email=row['email'], company=coop, role='COOP_MANAGER')
|
||||
logging.info(f"Created User: {coop_user}")
|
||||
coop_user = User.objects.create_user(email=row['email'], company=coop, role='COOP_MANAGER', is_active=False)
|
||||
# TODO: send confirmation email
|
||||
logging.info(f"Created User: {coop_user}")
|
||||
user_counter += 1
|
||||
except Exception as e:
|
||||
logging.error(f"Could not parse {row}")
|
||||
|
||||
Reference in New Issue
Block a user