diff Lib/IMPL/Web/Security.pm @ 94:79bf75223afe

Fixed security related bugs
author wizard
date Thu, 29 Apr 2010 01:31:27 +0400
parents 6d3bca490556
children 964587c5183c
line wrap: on
line diff
--- a/Lib/IMPL/Web/Security.pm	Wed Apr 28 17:50:55 2010 +0400
+++ b/Lib/IMPL/Web/Security.pm	Thu Apr 29 01:31:27 2010 +0400
@@ -35,7 +35,7 @@
 	return {
 		status => $status,
 		answer => $answer,
-		context => $this->MakeContext( $user, $user->roles, $auth )
+		context => $this->MakeContext( $user, [$user->roles], $auth )
 	}
 }