From 7585fb94a13972606d893ee12759a8ec15d6068f Mon Sep 17 00:00:00 2001 From: A B Date: Sun, 27 Oct 2024 01:18:06 +0000 Subject: [PATCH] Fix users --- vpn/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vpn/models.py b/vpn/models.py index 39c0e38..114636b 100644 --- a/vpn/models.py +++ b/vpn/models.py @@ -10,8 +10,7 @@ from django.contrib.auth.models import AbstractUser class User(AbstractUser): - #username = models.CharField(max_length=100) - is_active = False + #is_active = False comment = models.TextField(default="", blank=True) registration_date = models.DateTimeField(auto_now_add=True) servers = models.ManyToManyField('Server', through='ACL', blank=True)