Class: EgovUtils::Settings

Inherits:
Settingslogic
  • Object
show all
Defined in:
lib/egov_utils/settings.rb

Instance Method Summary collapse

Instance Method Details

#allow_password_reset?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/egov_utils/settings.rb', line 18

def allow_password_reset?
  allow_register? && allow_password_reset
end

#allow_register?Boolean

namespace Rails.env

Returns:

  • (Boolean)


14
15
16
# File 'lib/egov_utils/settings.rb', line 14

def allow_register?
  allow_register
end