mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-20 15:02:31 +00:00
CHANGE: New user signups now require admin approval
Given that I intend to reveal much more data to new users this seems necessary...
This commit is contained in:
@@ -27,6 +27,7 @@ class Profile(AbstractUser):
|
||||
initials = models.CharField(max_length=5, unique=True, null=True, blank=False)
|
||||
phone = models.CharField(max_length=13, null=True, blank=True)
|
||||
api_key = models.CharField(max_length=40, blank=True, editable=False, null=True)
|
||||
is_approved = models.BooleanField(default=False)
|
||||
|
||||
@classmethod
|
||||
def make_api_key(cls):
|
||||
|
||||
Reference in New Issue
Block a user