diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-10-26 10:31:12 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-10-26 10:31:12 -0400 |
commit | 0b4390e7f2322a15f16919425de039d555b3e516 (patch) | |
tree | 93c6d436161e42c93df2c089ef1000024ef74d89 /plugins/OpenID/openid.php | |
parent | 3371e243165df54f41febcb1a8ab578ca5950a18 (diff) |
Make email domain checking optional, as some statusnet installations (such as those behind restrictive corporate firewalls, or on home systems on restrictive connections) cannot connect to any mail
systems, and this check will always fail.
Diffstat (limited to 'plugins/OpenID/openid.php')
-rw-r--r-- | plugins/OpenID/openid.php | 2 |
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']; } |