Revision
335
Author
buchan
Date
2011-01-22 09:52:05 +0100 (Sat, 22 Jan 2011)

Log Message

Dont detach when checking ldap error code,, we want to continue to set a template

Modified Paths

Modified: identity/CatDap/trunk/lib/CatDap/Controller/forgot_password.pm
===================================================================
--- identity/CatDap/trunk/lib/CatDap/Controller/forgot_password.pm	2011-01-21 18:37:27 UTC (rev 334)
+++ identity/CatDap/trunk/lib/CatDap/Controller/forgot_password.pm	2011-01-22 08:52:05 UTC (rev 335)
@@ -177,7 +177,6 @@
 	if ($mesg->code) {
 		my $perror = $mesg->error;
 		push @errors, "Password change failed: $perror";
-		$c->detach;
 	}
 
 	# if error show confirm page again to retry