[dancer-users] Custom login page with Dancer2::Plugin::Auth::Extensible
Nathan Bailey
web at polynate.net
Mon May 1 08:42:27 BST 2017
Per the documentation,
http://search.cpan.org/~hornburg/Dancer2-Plugin-Auth-Extensible-0.703/lib/Dancer2/Plugin/Auth/Extensible.pm#SAMPLE_CONFIGURATION
in my .yml config, I have:
plugins:
Auth::Extensible:
# Set the view name for a custom login page, defaults to 'login'
login_template: login
but my login page:
get '/login' => sub {
...
template 'login', {
...
};
};
doesn't seem to get called.
I've tried "login_template: /login" but the default login is still getting
loaded.
Any ideas?
thanks!
Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20170501/e1643029/attachment.html>
More information about the dancer-users
mailing list