app/controllers/anoubis/output/login.rb
##
# Generates output message based on {#result self.result} variable.
# @return [String] output message
Generates output message based on {#result self.result} variable.
Generates output message based on { #result self . result } variable .
def message
        case self.result
        when -1
          return I18n.t('errors.invalid_login_parameters')
        when -2
          return I18n.t('errors.invalid_login_or_password')
        else
          return super
        end
      end
def message case self . result when - 1 return I18n . t ( 'errors.invalid_login_parameters' ) when - 2 return I18n . t ( 'errors.invalid_login_or_password' ) else return super end end
Generates output message based on {#result self.result} variable.
Generates output message based on { #result self . result } variable .
None
String