mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
add 2FA
This commit is contained in:
1 parent
b3662ddea8
commit
ef618f8f49
14 files changed
+163
-3
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class AddDeviseTwoFactorToUsers < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :users, :otp_secret, :string
|
||||
add_column :users, :consumed_timestep, :integer
|
||||
add_column :users, :otp_required_for_login, :boolean, default: false, null: false
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user