X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fpublicxrds.php;h=c41c3b2a84be502815dbc9519e0a05d5cf762ae9;hb=31b5ae1523c4f64159f00b32683912da1a9fb474;hp=98d7a164ed39048f609727722816bb30cda59a8f;hpb=2aa34a9bf0916bb5c00dff1d490755cf32edd16d;p=quix0rs-gnu-social.git diff --git a/actions/publicxrds.php b/actions/publicxrds.php index 98d7a164ed..c41c3b2a84 100644 --- a/actions/publicxrds.php +++ b/actions/publicxrds.php @@ -40,11 +40,10 @@ class PublicxrdsAction extends Action { common_element('Type', NULL, 'xri://$xrds*simple'); - $this->show_service(Auth_OpenID_RP_RETURN_TO_URL_TYPE, - common_local_url('finishopenidlogin')); - - $this->show_service(Auth_OpenID_RP_RETURN_TO_URL_TYPE, - common_local_url('finishaddopenid')); + foreach (array('finishopenidlogin', 'finishaddopenid', 'finishimmediate') as $finish) { + $this->show_service(Auth_OpenID_RP_RETURN_TO_URL_TYPE, + common_local_url($finish)); + } common_element_end('XRD');