diff Lib/IMPL/Web/Security.pm @ 231:ff1e8fa932f2

sync
author sergey
date Tue, 09 Oct 2012 03:09:41 +0400
parents 6d8092d8ce1b
children 5c82eec23bb6
line wrap: on
line diff
--- a/Lib/IMPL/Web/Security.pm	Mon Oct 08 03:37:37 2012 +0400
+++ b/Lib/IMPL/Web/Security.pm	Tue Oct 09 03:09:41 2012 +0400
@@ -29,12 +29,11 @@
     my ($status,$answer) = $auth->DoAuth($challenge);
     
     if ($status != AUTH_FAIL) {
-        SecurityContext->current->authority->CreateContext(
+        SecurityContext->current->authority->InitSession(
             $user,
             $auth,
             [$user->roles],
-            $answer,
-            $this
+            $answer
         );
     }