[dancer-users] Dancer2::Plugin::Auth::Extensible problem - likely me

Kadir Beyazlı kadirbeyazli at gmail.com
Sat Dec 5 10:23:08 GMT 2015


Hi John,

Instead of following command:

plackup -R . app.pl

Would you please try following and write result?

perl app.pl

And as I understand from your message, you get warning not error,
because it says that :

HTTP::Server::PSGI: Accepting connections at http://0:5000/

On Fri, Dec 4, 2015 at 11:50 PM, Andrew Beverley <andy at andybev.com> wrote:
> On Fri, 2015-12-04 at 16:37 -0500, John Stoffel wrote:
>> I'm trying to play with Authentication in Dancer2, and I can't get the
>> dang example from Gabor at his blog
>> (http://perlmaven.com/password-protecting-web-pages-in-dancer2) to
>> run, it keeps giving me the following error:
>>
>>    No Auth::Extensible realms configured with which to authenticate
>> user
>
> Your example works for me. Are you sure the app is reading your config
> at all?
>
> Try dumping config() from a route, and checking whether it contains your
> configuration (bear in mind that it will still contain default
> information if your config isn't being read).
>
> If it is, also check that the dump contains your Auth::Extensible
> config.
>
> Andy
>
>
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users



-- 
Kadir Beyazlı
Computer Engineer
GSM : +90 535 821 50 00


More information about the dancer-users mailing list