mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-03-15 13:36:18 +00:00
add 'Global TOTP Before Authentication' option and update form layouts
This commit is contained in:
@@ -15,6 +15,7 @@ class AuthMethod(models.Model):
|
||||
|
||||
# TOTP-specific fields
|
||||
totp_secret = models.CharField(max_length=255, blank=True, help_text=_("Shared/global TOTP secret key"))
|
||||
totp_before_auth = models.BooleanField(default=False)
|
||||
|
||||
# OIDC-specific fields
|
||||
oidc_provider = models.CharField(max_length=64, blank=True)
|
||||
|
||||
Reference in New Issue
Block a user