mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
adjust email 2fa
This commit is contained in:
1 parent
6ffc88b4ed
commit
8d11f5ddae
1 file changed
+1
-1
@@ -20,7 +20,7 @@ module EmailVerificationCodes
|
||||
def build_totp_secret(value)
|
||||
ROTP::Base32.encode(
|
||||
Digest::SHA1.digest(
|
||||
[Rails.application.secret_key_base, value].join(':')
|
||||
[Rails.application.secret_key_base, 'form_email_2fa', value].join(':')
|
||||
)
|
||||
)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user