diff Lib/IMPL/Web/Security.pm @ 87:6d3bca490556

small fixes in the security moodules
author wizard
date Mon, 19 Apr 2010 23:20:46 +0400
parents 74bae30eb25e
children 79bf75223afe
line wrap: on
line diff
--- a/Lib/IMPL/Web/Security.pm	Mon Apr 19 02:38:18 2010 +0400
+++ b/Lib/IMPL/Web/Security.pm	Mon Apr 19 23:20:46 2010 +0400
@@ -17,7 +17,7 @@
 sub AuthUser {
 	my ($this,$name,$package,$challenge) = @_;
 	
-	my $user = $this->sourceUser->search({name => $name});
+	my $user = $this->sourceUser->find({name => $name});
 	
 	my $auth;	
 	if ( my $secData = $user->secData($package) ) {