diff options
Diffstat (limited to 'plugins/OpenID/finishaddopenid.php')
-rw-r--r-- | plugins/OpenID/finishaddopenid.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/OpenID/finishaddopenid.php b/plugins/OpenID/finishaddopenid.php index 77fcc3805..e07ab764e 100644 --- a/plugins/OpenID/finishaddopenid.php +++ b/plugins/OpenID/finishaddopenid.php @@ -106,6 +106,12 @@ class FinishaddopenidAction extends Action $sreg = $sreg_resp->contents(); } + // Launchpad teams extension + if (!oid_check_teams($response)) { + $this->message(_m('OpenID authentication aborted: you are not allowed to login to this site.')); + return; + } + $cur = common_current_user(); $other = oid_get_user($canonical); |