[Mageia-sysadm] [185] do not proceed with registration if ldap gives errors, patch from Maarten Vanraes
root at mageia.org
root at mageia.org
Tue Dec 21 03:04:56 CET 2010
Revision: 185
Author: misc
Date: 2010-12-21 03:04:56 +0100 (Tue, 21 Dec 2010)
Log Message:
-----------
do not proceed with registration if ldap gives errors, patch from Maarten Vanraes
Modified Paths:
--------------
identity/CatDap/trunk/lib/CatDap/Controller/register.pm
Modified: identity/CatDap/trunk/lib/CatDap/Controller/register.pm
===================================================================
--- identity/CatDap/trunk/lib/CatDap/Controller/register.pm 2010-12-21 00:29:29 UTC (rev 184)
+++ identity/CatDap/trunk/lib/CatDap/Controller/register.pm 2010-12-21 02:04:56 UTC (rev 185)
@@ -122,7 +122,8 @@
push @errors,$mesg->error;
$c->log->info( sprintf("Creating DN $dn failed: %s", $mesg->error) );
$c->stash(errors => \@errors);
- #$c->stash(template => 'register/index.tt');
+ $c->stash(template => 'register/index.tt');
+ return ;
}
$c->stash(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101221/dfcbca4d/attachment.html>
More information about the Mageia-sysadm
mailing list