diff --git a/mod/openid.php b/mod/openid.php index 1f63a12de1..98748c21d8 100644 --- a/mod/openid.php +++ b/mod/openid.php @@ -64,9 +64,9 @@ function openid_content(App $a) { Session::set('openid_server', $open_id_obj->discover($open_id_obj->identity)); if (intval(Config::get('config', 'register_policy')) === \Friendica\Module\Register::CLOSED) { - notice(L10n::t('Account not found. Please login to your existing account to add the OpenID to it.') . EOL); + notice(L10n::t('Account not found. Please login to your existing account to add the OpenID to it.')); } else { - notice(L10n::t('Account not found. Please register a new account or login to your existing account to add the OpenID to it.') . EOL); + notice(L10n::t('Account not found. Please register a new account or login to your existing account to add the OpenID to it.')); } $a->internalRedirect('login'); diff --git a/mod/settings.php b/mod/settings.php index be121f6a78..717dac225e 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -577,6 +577,7 @@ function settings_post(App $a) $fields['openid'] = ''; $fields['openidserver'] = ''; } + if (DBA::update('user', $fields, ['uid' => local_user()])) { info(L10n::t('Settings updated.') . EOL); }