summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-24 13:11:51 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-24 13:11:51 +0200
commit02e1aefa24cdd0339995d14431713822f4bf4718 (patch)
treea622727150214f8e9dab165ae48803180c38403d /config
parent38920de3910705dac42af2370da7b3ba504577a9 (diff)
Add TOTP enrollment and verification to User, witnessed in the action log
Diffstat (limited to 'config')
-rw-r--r--config/initializers/otp.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/initializers/otp.rb b/config/initializers/otp.rb
new file mode 100644
index 00000000..0d727277
--- /dev/null
+++ b/config/initializers/otp.rb
@@ -0,0 +1,2 @@
1OTP_ISSUER = "CCC CMS"
2OTP_DRIFT = 30 # seconds of clock skew accepted behind and ahead