johnsonmlw wrote:
> Thanks for the suggestion.
> 
> I get the same problem. *Any* username or password is allowed.
> 
> So I can enter 'foo' and no password and it let's me in.
> 
> Odd.

So basically..:

  def authenticateAdmin
    authenticate_or_request_with_http_basic do |name, password|
      true
    end
  end

?

I dont see how this can be useful to anyone though.. But that might just 
be me. lol
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to