slight change on last commit - server discovery for legacy openid

pull/1/head
Friendika 12 years ago
parent c55cb45855
commit cd073f94f8

@ -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