X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Flibraries%2FOpenid.php;fp=application%2Flibraries%2FOpenid.php;h=7fd12fd96d864e3331d5c075bbcb08e9210e46ef;hb=59d86a4497243dd290ef731341aaa9110553dbbd;hp=0ac29e4141628ee1eb2d2b01b4f8eec34853c03b;hpb=ada355332b092d2bd0ec7845f62c307587c9aab0;p=living-lab-site.git diff --git a/application/libraries/Openid.php b/application/libraries/Openid.php index 0ac29e4..7fd12fd 100644 --- a/application/libraries/Openid.php +++ b/application/libraries/Openid.php @@ -122,9 +122,12 @@ class Openid { // Create attribute request object // See http://code.google.com/apis/accounts/docs/OpenID.html#Parameters for parameters // Usage: make($type_uri, $count=1, $required=false, $alias=null) - $attribute[] = Auth_OpenID_AX_AttrInfo::make('http://axschema.org/contact/email',2,1, 'email'); - $attribute[] = Auth_OpenID_AX_AttrInfo::make('http://axschema.org/namePerson/first',1,1, 'firstname'); - $attribute[] = Auth_OpenID_AX_AttrInfo::make('http://axschema.org/namePerson/last',1,1, 'lastname'); + $attribute[] = Auth_OpenID_AX_AttrInfo::make( + 'http://axschema.org/contact/email', 1, TRUE); + $attribute[] = Auth_OpenID_AX_AttrInfo::make( + 'http://axschema.org/namePerson/first', 1, TRUE); + $attribute[] = Auth_OpenID_AX_AttrInfo::make( + 'http://axschema.org/namePerson/last', 1, TRUE); // Create AX fetch request $ax = new Auth_OpenID_AX_FetchRequest;