slight change on last commit - server discovery for legacy openid

This commit is contained in:
Friendika 2010-12-23 14:54:34 -08:00
parent c55cb45855
commit cd073f94f8

View file

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