$fullname = '';
}
- if (!empty($sreg['email']) && Validate::email($sreg['email'], true)) {
+ if (!empty($sreg['email']) && Validate::email($sreg['email'], common_config('email', 'check_domain'))) {
$email = $sreg['email'];
} else {
$email = '';
{
$url = common_get_returnto();
if ($url) {
- # We don't have to return to it again
+ # We do not have to return to it again
common_set_returnto(null);
} else {
$url = common_local_url('all',
$parts = parse_url($openid);
- # If any of these parts exist, this won't work
+ # If any of these parts exist, this will not work
foreach ($bad as $badpart) {
if (array_key_exists($badpart, $parts)) {