From 4595c649a283758ec69a51c8c8c019935643b222 Mon Sep 17 00:00:00 2001 From: thequbit Date: Tue, 23 Jun 2015 07:45:26 -0400 Subject: [PATCH] change default email to @example.com from known valid address. Closes --- mayan/apps/common/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/common/__init__.py b/mayan/apps/common/__init__.py index da2181dbe1..1695a05ef3 100644 --- a/mayan/apps/common/__init__.py +++ b/mayan/apps/common/__init__.py @@ -59,7 +59,7 @@ def create_superuser_and_anonymous_user(sender, **kwargs): auth_models.User.objects.get(username=AUTO_ADMIN_USERNAME) except auth_models.User.DoesNotExist: logger.info('Creating super admin user -- login: %s, password: %s', AUTO_ADMIN_USERNAME, AUTO_ADMIN_PASSWORD) - assert auth_models.User.objects.create_superuser(AUTO_ADMIN_USERNAME, 'autoadmin@autoadmin.com', AUTO_ADMIN_PASSWORD) + assert auth_models.User.objects.create_superuser(AUTO_ADMIN_USERNAME, 'autoadmin@example.com', AUTO_ADMIN_PASSWORD) admin = auth_models.User.objects.get(username=AUTO_ADMIN_USERNAME) # Store the auto admin password properties to display the first login message auto_admin_properties, created = AutoAdminSingleton.objects.get_or_create()