Browse Source

slight change on last commit - server discovery for legacy openid

pull/1/head
Friendika 11 years ago
parent
commit
cd073f94f8
  1. 4
      mod/settings.php

4
mod/settings.php

@ -111,7 +111,9 @@ function settings_post(&$a) {
$openidserver = $a->user['openidserver'];
if($openid != $a->user['openid']) {
// If openid has changed or if there's an openid but no openidserver, try and discover it.
if($openid != $a->user['openid'] || (strlen($openid) && (! strlen($openidserver)))) {
logger('updating openidserver');
require_once('library/openid.php');
$open_id_obj = new LightOpenID;

Loading…
Cancel
Save