[dancer-users] Dancer2::Plugin::Auth::Extensible problem - likely me
Andrew Beverley
andy at andybev.com
Sat Dec 5 14:43:47 GMT 2015
On Sat, 2015-12-05 at 09:05 -0500, John Stoffel wrote:
> Andrew> Your example works for me. Are you sure the app is reading
> Andrew> your config at all?
>
> I'm pretty sure it is, because when I put in something wrong, it barks
> at me. And when I do save the file, I also see the plackup messages
> that it's re-reading the file.
I guess the bottom line is that the warning wouldn't be displayed if the
module config was being passed correctly to Auth::Extensible.
> Andrew> Try dumping config() from a route, and checking whether it
> Andrew> contains your configuration (bear in mind that it will still
> Andrew> contain default information if your config isn't being read).
>
> Andrew> If it is, also check that the dump contains your
> Andrew> Auth::Extensible config.
>
> I suspect it's some wierd interaction of my perlbrew setup with my
> existing local setup which is driving this problem.
Maybe try dumping the config file in a few key places? You should be
able to do that in Extensible.pm by dumping $app->config in
on_plugin_import()
More information about the dancer-users
mailing list