mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Removed password field from ServiceAccount
This commit is contained in:
@@ -91,9 +91,10 @@ class ServiceAccount(models.Model):
|
||||
user = models.ForeignKey(User, blank=False)
|
||||
service = models.ForeignKey(Service, blank=False)
|
||||
username = models.CharField(max_length=200, blank=True)
|
||||
password = models.CharField(max_length=200, blank=False)
|
||||
active = models.BooleanField(default=True)
|
||||
|
||||
password = None
|
||||
|
||||
def __str__(self):
|
||||
return "%s: %s (%s)" % (self.service.name, self.user.username, self.username)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user