@ -76,6 +76,10 @@ class User < ApplicationRecord
CONFIRMABLE_TEMPLATE_ID
end
def skip_confirmation!
!user.active?
def need_two_factor_authentication?(_request)
support?