Displaying 3 results from an estimated 3 matches for "login_from_basic_auth".
2008 Jan 30
2
Where can I get "authenticate_with_http_basic"?
...in:
NoMethodError in RegisterController#start
undefined method `authenticate_with_http_basic'' for
#<RegisterController:0xb7578750>
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
/usr/local/apache2/htdocs/easyrx/lib/authenticated_system.rb:102:in
`login_from_basic_auth''
/usr/local/apache2/htdocs/easyrx/lib/authenticated_system.rb:12:in
`current_user''
/usr/local/apache2/htdocs/easyrx/lib/authenticated_system.rb:6:in
`logged_in?''
/usr/local/apache2/htdocs/easyrx/app/controllers/
register_controller.rb:41:in `start''
How can I tro...
2008 Jul 12
1
Re: Re stful_authentication, Internet Explorer, and unwanted http basic dialog
...y?
>>>
>>> I''ve modified the following method of authenticated_system.rb, but
>>> there''s no difference before or after.
>>>
>>> Before:
>>>
>>> def current_user
>>> @current_user ||= (login_from_session || login_from_basic_auth ||
>>> login_from_cookie) unless @current_user == false
>>> end
>>>
>>> After:
>>>
>>> def current_user
>>> @current_user ||= login_from_session unless @current_user ==
>>> false
>>> end
>>>
>>>...
2008 Jun 17
3
Help with error - uninitialized constant AuthenticatedSystem::Base64
...Trace
vendor/rails/activesupport/lib/active_support/dependencies.rb:263:in
`load_missing_constant''
vendor/rails/activesupport/lib/active_support/dependencies.rb:453:in
`const_missing''
lib/authenticated_system.rb:126:in `get_auth_data''
lib/authenticated_system.rb:105:in `login_from_basic_auth''
lib/authenticated_system.rb:12:in `current_user''
lib/authenticated_system.rb:6:in `logged_in?''
lib/authenticated_system.rb:34:in `authorized?''
lib/authenticated_system.rb:52:in `login_required''
app/controllers/opinions_controller.rb:166:in `authenticate...