Getting there with Devise MFA

This commit is contained in:
2024-05-21 10:13:05 +01:00
parent 32a06d8c61
commit 95675aa5ef
10 changed files with 34 additions and 75 deletions

View File

@@ -1,5 +1,6 @@
class User < ApplicationRecord
devise :two_factor_authenticatable
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
devise :database_authenticatable, :recoverable, :rememberable, :validatable, :lockable, :timeoutable, :trackable, :registerable
devise :recoverable, :rememberable, :validatable, :lockable, :timeoutable, :trackable, :registerable
end