|
|
@ -16,6 +16,9 @@ module ::TwoFactorAuthentication |
|
|
|
before_action :check_password_confirmation, |
|
|
|
before_action :check_password_confirmation, |
|
|
|
only: [:make_default, :destroy] |
|
|
|
only: [:make_default, :destroy] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Delete remember token on destroy |
|
|
|
|
|
|
|
before_action :clear_remember_token!, only: [:destroy] |
|
|
|
|
|
|
|
|
|
|
|
layout 'my' |
|
|
|
layout 'my' |
|
|
|
menu_item :two_factor_authentication |
|
|
|
menu_item :two_factor_authentication |
|
|
|
|
|
|
|
|
|
|
|