summaryrefslogtreecommitdiff
path: root/plugins/OpenID/openid.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-10-28 17:24:53 -0400
committerEvan Prodromou <evan@status.net>2009-10-28 17:24:53 -0400
commitb73d6d18bae0e9046f65eb394c8e593de33f92a4 (patch)
tree981eb242aa4494b8c31604a59cac39116cb4ada4 /plugins/OpenID/openid.php
parent3c724ccd0df0d205a9567e435b6060300537f904 (diff)
parent10df75f9a074f2987b3525cd70a129bd26972ebb (diff)
Merge branch '0.9.x' into location
Diffstat (limited to 'plugins/OpenID/openid.php')
-rw-r--r--plugins/OpenID/openid.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OpenID/openid.php b/plugins/OpenID/openid.php
index 0944117c0..b76497c28 100644
--- a/plugins/OpenID/openid.php
+++ b/plugins/OpenID/openid.php
@@ -241,7 +241,7 @@ function oid_update_user(&$user, &$sreg)
$orig_user = clone($user);
- if ($sreg['email'] && Validate::email($sreg['email'], true)) {
+ if ($sreg['email'] && Validate::email($sreg['email'], common_config('email', 'check_domain'))) {
$user->email = $sreg['email'];
}