NoamB/sorcery — Issue #188: HTTP Basic Auth Failing
Author: nicholasmott
Created: 2012-01-13 05:09:38+00:00
State: open

After following the instructions on implementing HTTP Basic Authentication I get the following error:

undefined local variable or method `require_login_from_http_basic'

I've gone through all the docs and the code and I can't see what I'm doing wrong. I've double checked all the spelling.

`:http_basic_auth` and `config.controller_to_realm_map = {"application" => "MyApp"}` are set in `sorcery.rb` and `:require_login_from_http_basic` is set in a `:before_filter` in my `ApplicationController`.

I am on Sorcery 0.7.6 and the standard `:require_login` works without any issue.

Can anyone think of anything? Anyone else having this issue? Is there some setup that I'm missing that isn't in the wiki?