Remove OTP_SECRET env configuration (#34748)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2025-05-22 09:33:21 +00:00
1 parent 83dd09d4dc
commit 8d4ae81ab4
2 files changed
-4

No files matched your search

-1
View File
@@ -73,7 +73,6 @@ class User < ApplicationRecord
ACTIVE_DURATION = ENV.fetch('USER_ACTIVE_DAYS', 7).to_i.days.freeze
devise :two_factor_authenticatable,
otp_secret_encryption_key: Rails.configuration.x.otp_secret,
otp_secret_length: 32
devise :two_factor_backupable,