diff options
Diffstat (limited to '')
| -rw-r--r-- | SCHEMA.md | 1 | ||||
| -rw-r--r-- | backend/constants.py | 1 | 
2 files changed, 2 insertions, 0 deletions
| @@ -37,6 +37,7 @@ In this document:  | `DISABLE_ANTISPAM` | Disable the anti-spam checks from running on a form submission.               |  | `WEBHOOK_ENABLED`  | The form should notify the webhook. Has no effect if no webhook is set.       |  | `ASSIGN_ROLE`      | The form should assign role to user. Requires `REQUIRES_LOGIN`.               | +| `UNIQUE_RESPONDER` | Only one response allowed per Discord ID. Requires `REQUIRES_LOGIN`.          |  ### Webhooks  Discord webhooks to send information upon form submission. diff --git a/backend/constants.py b/backend/constants.py index 1e55cd2..17f08b9 100644 --- a/backend/constants.py +++ b/backend/constants.py @@ -83,6 +83,7 @@ class FormFeatures(Enum):      DISABLE_ANTISPAM = "DISABLE_ANTISPAM"      WEBHOOK_ENABLED = "WEBHOOK_ENABLED"      ASSIGN_ROLE = "ASSIGN_ROLE" +    UNIQUE_RESPONDER = "UNIQUE_RESPONDER"  class WebHook(Enum): | 
