From: Sandro Santilli Date: Sat, 18 Mar 2017 12:33:07 +0000 (+0100) Subject: Fix OpenID URI removal X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1ef206467fcdefa4c89a030375ff236fdafd80f2;p=quix0rs-gnu-social.git Fix OpenID URI removal See #252 --- diff --git a/plugins/OpenID/actions/openidsettings.php b/plugins/OpenID/actions/openidsettings.php index bf5d8886f1..9651ec3134 100644 --- a/plugins/OpenID/actions/openidsettings.php +++ b/plugins/OpenID/actions/openidsettings.php @@ -287,7 +287,7 @@ class OpenidsettingsAction extends SettingsAction // TRANS: Form validation error for a non-existing OpenID. throw new ClientException(_m('No such OpenID.')); } - if ($this->scoped->getID() !== $oid->user_id) { + if ($this->scoped->getID() != $oid->user_id) { // TRANS: Form validation error if OpenID is connected to another user. throw new ClientException(_m('That OpenID does not belong to you.')); }