Commit bed71975 authored by David Seaward's avatar David Seaward
Browse files


parent 640870e4
......@@ -28,10 +28,3 @@ def deactivate_all_expired_limits():
def debug_connection_task():
def monitor_woo1():
# keep legacy task header so that it is flushed out of queue
# FIXME: this will be removed in the next release
......@@ -21,12 +21,12 @@ class UserManager(BaseUserManager):
def create_user(self, username, email=None, password=None, **extra_fields):
"""Create regular users in LDAP, with no Django password."""
user = super(UserManager, self).create_user(username, email, password, **extra_fields)
return super(UserManager, self).create_user(username, email, password, **extra_fields)
def create_superuser(self, username, email=None, password=None, **extra_fields):
"""Create superusers with a Django password."""
super(UserManager, self).create_superuser(username, email, password, **extra_fields)
return super(UserManager, self).create_superuser(username, email, password, **extra_fields)
class User(AbstractUser):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment