summaryrefslogtreecommitdiff
path: root/internal/handlers/const.go
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2023-10-27 20:24:13 +1100
committerJames Elliott <james-d-elliott@users.noreply.github.com>2024-03-04 20:28:24 +1100
commit87d2a3419d6f29db900bc1aeb4cf5d7769a15ce3 (patch)
treea4efff47cb7be04f9fb1ce344cb9e40f4096dee6 /internal/handlers/const.go
parentc0dbdd97ab2ac580e3da07a0137dbc7a1b9c9b83 (diff)
feat(web): user one-time password preferences
This allows administrators to configure a list of Time-based One-Time Password parameters that users can pick from the web UI during registrations. Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Diffstat (limited to 'internal/handlers/const.go')
-rw-r--r--internal/handlers/const.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/handlers/const.go b/internal/handlers/const.go
index 8c84c9a5a..e690bd65b 100644
--- a/internal/handlers/const.go
+++ b/internal/handlers/const.go
@@ -67,6 +67,7 @@ const (
messageOperationFailed = "Operation failed."
messageAuthenticationFailed = "Authentication failed. Check your credentials."
messageUnableToRegisterOneTimePassword = "Unable to set up one-time passwords." //nolint:gosec
+ messageUnableToDeleteOneTimePassword = "Unable to delete one-time password." //nolint:gosec
messageUnableToRegisterSecurityKey = "Unable to register your security key."
messageSecurityKeyDuplicateName = "Another one of your security keys is already registered with that display name."
messageUnableToResetPassword = "Unable to reset your password."