add openid headers to openid request page
This commit is contained in:
parent
4d11e920be
commit
7d2784c4c3
|
@ -560,8 +560,10 @@ function logout_mode () {
|
|||
* @global array $profile
|
||||
*/
|
||||
function no_mode () {
|
||||
global $USERNAME;
|
||||
global $USERNAME, $profile;
|
||||
$tmpl = new OC_TEMPLATE( 'user_openid', 'nomode', 'guest' );
|
||||
$tmpl->addHeader('link',array('rel'=>'openid.server', 'href'=>$profile['req_url']));
|
||||
$tmpl->addHeader('link',array('rel'=>'openid.delegate', 'href'=>$profile['idp_url']));
|
||||
$tmpl->assign('user',$USERNAME);
|
||||
$tmpl->printPage();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue