Exception: JwtAuthenticable::Exceptions::TwoFANotEnabledError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/jwt_authenticable/exceptions.rb

Overview

Exception to raise when 2fa enforce is enabled but user has not enabled 2fa

Instance Method Summary collapse

Instance Method Details

#messageObject



53
54
55
# File 'lib/jwt_authenticable/exceptions.rb', line 53

def message
  '2FA must be enabled'
end