diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-24 13:11:51 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-24 13:11:51 +0200 |
| commit | 02e1aefa24cdd0339995d14431713822f4bf4718 (patch) | |
| tree | a622727150214f8e9dab165ae48803180c38403d /config/initializers | |
| parent | 38920de3910705dac42af2370da7b3ba504577a9 (diff) | |
Add TOTP enrollment and verification to User, witnessed in the action log
Diffstat (limited to 'config/initializers')
| -rw-r--r-- | config/initializers/otp.rb | 2 |
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 @@ | |||
| 1 | OTP_ISSUER = "CCC CMS" | ||
| 2 | OTP_DRIFT = 30 # seconds of clock skew accepted behind and ahead | ||
