X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Flibraries%2FOpenid.php;h=8cb1f90c1590270ff47b1e36298f92fcca7d1ad1;hb=42b8f76ab32990f2668a4e3346374de7bad91be2;hp=bf20e8565710e1348f1dec5f555adf57d908e04b;hpb=497b76b61faee6e2e8d72ce6d9ed8eacd45107d2;p=living-lab-site.git diff --git a/application/libraries/Openid.php b/application/libraries/Openid.php index bf20e85..8cb1f90 100644 --- a/application/libraries/Openid.php +++ b/application/libraries/Openid.php @@ -48,6 +48,7 @@ class Openid { require_once "Auth/OpenID/SReg.php"; require_once "Auth/OpenID/AX.php"; require_once "Auth/OpenID/PAPE.php"; + require_once "Auth/extensions.php"; } function set_sreg($enable, $required = NULL, $optional = NULL, $policy = NULL) @@ -225,7 +226,8 @@ class Openid { } $store = new Auth_OpenID_FileStore($this->storePath); - $consumer = new Auth_OpenID_Consumer($store); + $consumer = new Auth_OpenID_Consumer($store, + new Auth_Yadis_CISession()); return $consumer; }