Module: Authlogic::Session::HttpAuth::Config
- Defined in:
- lib/authlogic/session/http_auth.rb
Overview
Configuration for the HTTP basic auth feature of Authlogic.
Instance Method Summary collapse
-
#allow_http_basic_auth(value = nil) ⇒ Object
(also: #allow_http_basic_auth=)
Do you want to allow your users to log in via HTTP basic auth?.
Instance Method Details
#allow_http_basic_auth(value = nil) ⇒ Object Also known as: allow_http_basic_auth=
Do you want to allow your users to log in via HTTP basic auth?
I recommend keeping this enabled. The only time I feel this should be disabled is if you are not comfortable having your users provide their raw username and password. Whatever the reason, you can disable it here.
-
Default:
true -
Accepts:
Boolean
27 28 29 |
# File 'lib/authlogic/session/http_auth.rb', line 27 def allow_http_basic_auth(value = nil) rw_config(:allow_http_basic_auth, value, true) end |