[dancer-users] Dancer2::Plugin::Auth::Extensible with DB

Nathan Bailey web at polynate.net
Thu Nov 23 11:41:05 GMT 2017


And in support of Andy's comments below - I put a debug warn statement at
the start of each sub in Extensible.pm and Database.pm to work out where
things weren't working.
Also turn up your logging to get the 'debug' level reports from DPAE into
your logs.

On 23 November 2017 at 22:10, Andrew Beverley <andy at andybev.com> wrote:

> On Thu, 23 Nov 2017 10:28:31 +0000 Clive Eisen wrote:
> > However the login is failing and I am just returned to the login screen
> > with the banner set to LOGIN FAILED
> >
> > There is no indication WHAT is failing - can anyone suggest either what
> > is wrong or where I can add debug - I have tried with and without roles.
>
> I would start by hacking some debug statements directly into the
> authenticate_user() subroutine in Provider/Database.pm
>
> That function should be called by DPAE, so you can check firstly that
> it's actually being called, and secondly if/what/why it's returning a
> failure (assuming it is).
>
> Andy
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20171123/874debd7/attachment.html>


More information about the dancer-users mailing list