<div dir="ltr">Thanks Stefan - you're right. It's "no_default_pages: 1" I needed, and it's now working - thanks :-)<div>-N</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 May 2017 at 16:50, Stefan Hornburg (Racke) <span dir="ltr"><<a href="mailto:racke@linuxia.de" target="_blank">racke@linuxia.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 05/01/2017 09:42 AM, Nathan Bailey wrote:<br>
> Per the<br>
> documentation, <a href="http://search.cpan.org/~hornburg/Dancer2-Plugin-Auth-Extensible-0.703/lib/Dancer2/Plugin/Auth/Extensible.pm#SAMPLE_CONFIGURATION" rel="noreferrer" target="_blank">http://search.cpan.org/~<wbr>hornburg/Dancer2-Plugin-Auth-<wbr>Extensible-0.703/lib/Dancer2/<wbr>Plugin/Auth/Extensible.pm#<wbr>SAMPLE_CONFIGURATION</a><br>
> in my .yml config, I have:<br>
> plugins:<br>
> Auth::Extensible:<br>
> # Set the view name for a custom login page, defaults to 'login'<br>
> login_template: login<br>
><br>
> but my login page:<br>
> get '/login' => sub {<br>
> ...<br>
><br>
> template 'login', {<br>
> ...<br>
> };<br>
> };<br>
><br>
> doesn't seem to get called.<br>
><br>
> I've tried "login_template: /login" but the default login is still getting loaded.<br>
><br>
> Any ideas?<br>
><br>
> thanks!<br>
> Nathan<br>
<br>
</div></div>Hello Nathan,<br>
<br>
I think you are mixing the concepts of the login template and the login route.<br>
<br>
This is covered here:<br>
<br>
<a href="http://search.cpan.org/~hornburg/Dancer2-Plugin-Auth-Extensible-0.703/lib/Dancer2/Plugin/Auth/Extensible.pm#CUSTOMISING_/login_AND_/login/denied" rel="noreferrer" target="_blank">http://search.cpan.org/~<wbr>hornburg/Dancer2-Plugin-Auth-<wbr>Extensible-0.703/lib/Dancer2/<wbr>Plugin/Auth/Extensible.pm#<wbr>CUSTOMISING_/login_AND_/login/<wbr>denied</a><br>
<br>
If you just want a custom login template, don't use an extra route for login.<br>
<br>
Regards<br>
<span class="HOEnZb"><font color="#888888"> Racke<br>
<br>
<br>
<br>
--<br>
Ecommerce and Linux consulting + Perl and web application programming.<br>
Debian and Sympa administration.<br>
______________________________<wbr>_________________<br>
dancer-users mailing list<br>
<a href="mailto:dancer-users@dancer.pm">dancer-users@dancer.pm</a><br>
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" rel="noreferrer" target="_blank">http://lists.preshweb.co.uk/<wbr>mailman/listinfo/dancer-users</a><br>
</font></span></blockquote></div><br></div>