From a96da77ca8b9af88f07e6b150c8cc8b31c44e207 Mon Sep 17 00:00:00 2001 From: Lucie Daeye Date: Tue, 13 Feb 2018 16:00:52 +0100 Subject: [PATCH] admin email fix --- app.json | 2 +- pulseapi/users/management/commands/review_app_admin.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app.json b/app.json index c411ceb..c059235 100644 --- a/app.json +++ b/app.json @@ -29,7 +29,7 @@ "required": true }, "USE_S3": "True", - "SSL_PROTECTION": "True", + "SSL_PROTECTION": "False", "CORS_ORIGIN_ALLOW_ALL": "True" }, "addons": [ diff --git a/pulseapi/users/management/commands/review_app_admin.py b/pulseapi/users/management/commands/review_app_admin.py index 96b986a..92ce02a 100644 --- a/pulseapi/users/management/commands/review_app_admin.py +++ b/pulseapi/users/management/commands/review_app_admin.py @@ -14,5 +14,5 @@ class Command(BaseCommand): def handle(self, *args, **options): password = EmailUser.objects.make_random_password() self.stdout.write('Your admin password is: {}'.format(password)) - user = EmailUser.objects.create_superuser('test', 'test@test.org', password) - user.save() + admin = EmailUser.objects.create_superuser('test', 'test@mozillafoundation.org', password) + admin.save()