diff Lib/IMPL/Web/Security.pm @ 116:1722ca51537c

minor changes. Auth no more throws an exception when fails
author wizard
date Mon, 31 May 2010 08:30:39 +0400
parents 0e72ad99eef7
children 4267a2ac3d46
line wrap: on
line diff
--- a/Lib/IMPL/Web/Security.pm	Wed May 26 02:32:22 2010 +0400
+++ b/Lib/IMPL/Web/Security.pm	Mon May 31 08:30:39 2010 +0400
@@ -35,10 +35,6 @@
 	
 	my ($status,$answer) = $auth->DoAuth($challenge);
 	
-	if ($status == AUTH_FAIL) {
-		die new IMPL::SecurityException("Authentication failed","DoAuth failed");
-	}
-	
 	return {
 		status => $status,
 		answer => $answer,