mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-11-22 04:43:18 +01:00
Add gateway sessions page and end sessions on credential change
This commit is contained in:
@@ -120,6 +120,9 @@ class WorkerStatus(models.Model):
|
||||
# {hostname: {"status": ..., "issuer": ..., "not_after": ..., "generation": ...}}
|
||||
certificate_status = models.JSONField(default=dict, blank=True)
|
||||
certificate_status_updated = models.DateTimeField(blank=True, null=True)
|
||||
# Active sessions of the auth-gateway of the worker, as published in its sessions snapshot
|
||||
gateway_sessions = models.JSONField(default=list, blank=True)
|
||||
gateway_sessions_updated = models.DateTimeField(blank=True, null=True)
|
||||
|
||||
updated = models.DateTimeField(auto_now=True)
|
||||
created = models.DateTimeField(auto_now_add=True)
|
||||
|
||||
Reference in New Issue
Block a user