aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CatDap
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-12-21 02:04:56 +0000
committerMichael Scherer <misc@mageia.org>2010-12-21 02:04:56 +0000
commitd94e2a652c0e27355ac6c6e8a309b4d10ab4400d (patch)
treeb4160d45d11cb477600e2bfde5354a1d5417dd8c /lib/CatDap
parent758c4ccc082b8c2d259113eafee77ed1f2a6c622 (diff)
downloadidentity-d94e2a652c0e27355ac6c6e8a309b4d10ab4400d.tar
identity-d94e2a652c0e27355ac6c6e8a309b4d10ab4400d.tar.gz
identity-d94e2a652c0e27355ac6c6e8a309b4d10ab4400d.tar.bz2
identity-d94e2a652c0e27355ac6c6e8a309b4d10ab4400d.tar.xz
identity-d94e2a652c0e27355ac6c6e8a309b4d10ab4400d.zip
do not proceed with registration if ldap gives errors, patch from Maarten Vanraes
Diffstat (limited to 'lib/CatDap')
-rw-r--r--lib/CatDap/Controller/register.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CatDap/Controller/register.pm b/lib/CatDap/Controller/register.pm
index 360d7b2..a488181 100644
--- a/lib/CatDap/Controller/register.pm
+++ b/lib/CatDap/Controller/register.pm
@@ -122,7 +122,8 @@ sub check : Local {
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(