Class: LinkedRails::Auth::Errors::WrongPassword

Inherits:
Doorkeeper::Errors::InvalidGrantReuse
  • Object
show all
Defined in:
lib/linked_rails/auth/errors/wrong_password.rb

Instance Method Summary collapse

Constructor Details

#initialize(_options = {}) ⇒ WrongPassword

Returns a new instance of WrongPassword.



7
8
9
10
# File 'lib/linked_rails/auth/errors/wrong_password.rb', line 7

def initialize(_options = {})
  message = I18n.t('devise.failure.invalid_password')
  super(message)
end