[Catalyst-commits] r8486 - / Catalyst-Helper-AuthDBIC/trunk/script
zarquon at dev.catalyst.perl.org
zarquon at dev.catalyst.perl.org
Wed Oct 1 11:18:14 BST 2008
Author: zarquon
Date: 2008-10-01 11:18:14 +0100 (Wed, 01 Oct 2008)
New Revision: 8486
Modified:
/
Catalyst-Helper-AuthDBIC/trunk/script/auth_bootstrap.pl
Log:
r14056 at zaphod: kd | 2008-09-25 15:46:07 +1000
don't want templates unless doing password auth
Property changes on:
___________________________________________________________________
Name: svk:merge
- 1b129c88-ebf4-0310-add9-f09427935aba:/local/catalyst:4278
1c72fc7c-9ce4-42af-bf25-3bfe470ff1e8:/local/Catalyst:14055
3b9770f9-e80c-0410-a7de-cd203d167417:/local/catalyst:3514
dd8ad9ea-0304-0410-a433-df5f223e7bc0:/local/Catalyst:6909
+ 1b129c88-ebf4-0310-add9-f09427935aba:/local/catalyst:4278
1c72fc7c-9ce4-42af-bf25-3bfe470ff1e8:/local/Catalyst:14056
3b9770f9-e80c-0410-a7de-cd203d167417:/local/catalyst:3514
dd8ad9ea-0304-0410-a433-df5f223e7bc0:/local/Catalyst:6909
Modified: Catalyst-Helper-AuthDBIC/trunk/script/auth_bootstrap.pl
===================================================================
--- Catalyst-Helper-AuthDBIC/trunk/script/auth_bootstrap.pl 2008-10-01 10:17:53 UTC (rev 8485)
+++ Catalyst-Helper-AuthDBIC/trunk/script/auth_bootstrap.pl 2008-10-01 10:18:14 UTC (rev 8486)
@@ -20,7 +20,8 @@
Once you're done running this script, add a user with the
script/myapp_auth_admin.pl command (run myapp_auth_admin.pl -help for
instructions), and then add some code to one of your controllers. For
-example to require application wide authentication add the following to your Controller::Root :
+example to require application wide authentication add the following
+to your Controller::Root :
@@ -45,6 +46,6 @@
Catalyst::Helper::AuthDBIC::mk_auth_controller() if $credential eq 'password';
Catalyst::Helper::AuthDBIC::add_plugins();
Catalyst::Helper::AuthDBIC::add_config($credential);
-Catalyst::Helper::AuthDBIC::write_templates();
+Catalyst::Helper::AuthDBIC::write_templates() if $credential eq 'password';
Catalyst::Helper::AuthDBIC::update_makefile();
Catalyst::Helper::AuthDBIC::add_user_helper();
More information about the Catalyst-commits
mailing list