mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-07-16 05:14:37 +02:00
Routerfleet integration
This commit is contained in:
parent
6ffa1abb15
commit
31fc3a1098
6 changed files with 127 additions and 5 deletions
|
@ -19,3 +19,10 @@ class UserAcl(models.Model):
|
|||
|
||||
def __str__(self):
|
||||
return self.user.username
|
||||
|
||||
|
||||
class AuthenticationToken(models.Model):
|
||||
user = models.ForeignKey(User, on_delete=models.CASCADE)
|
||||
created = models.DateTimeField(auto_now_add=True)
|
||||
updated = models.DateTimeField(auto_now=True)
|
||||
uuid = models.UUIDField(editable=False, default=uuid.uuid4)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue