From 1ef206467fcdefa4c89a030375ff236fdafd80f2 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Sat, 18 Mar 2017 13:33:07 +0100 Subject: [PATCH] Fix OpenID URI removal See #252 --- plugins/OpenID/actions/openidsettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.')); } -- 2.39.5