]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix OpenID URI removal
authorSandro Santilli <strk@kbt.io>
Sat, 18 Mar 2017 12:33:07 +0000 (13:33 +0100)
committerSandro Santilli <strk@kbt.io>
Sat, 18 Mar 2017 12:33:07 +0000 (13:33 +0100)
See #252

plugins/OpenID/actions/openidsettings.php

index bf5d8886f179a0fee2be3d6670047a100ad2da0d..9651ec31343c7332ea8b36456269a77e8ddde2ce 100644 (file)
@@ -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.'));
         }