aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2017-03-18 13:33:07 +0100
committerSandro Santilli <strk@kbt.io>2017-03-18 13:33:07 +0100
commit1ef206467fcdefa4c89a030375ff236fdafd80f2 (patch)
tree367c8198ab4d99a8355f945f033e86f13929ebee
parent7d67eefdf501f492e29f59971ac288e0414dc5b0 (diff)
downloadgnu-social-1ef206467fcdefa4c89a030375ff236fdafd80f2.tar
gnu-social-1ef206467fcdefa4c89a030375ff236fdafd80f2.zip
Fix OpenID URI removal
See #252
-rw-r--r--plugins/OpenID/actions/openidsettings.php2
1 files changed, 1 insertions, 1 deletions
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.'));
}