]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OpenID/finishopenidlogin.php
Remove more contractions
[quix0rs-gnu-social.git] / plugins / OpenID / finishopenidlogin.php
index 50a9c15c87a8730e2b9fb7ce11f415e97cb93d32..b5d9782945afd3cf604114d8328a487e41ed2b19 100644 (file)
@@ -265,7 +265,7 @@ class FinishopenidloginAction extends Action
             $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 = '';
@@ -341,7 +341,7 @@ class FinishopenidloginAction extends Action
     {
         $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',
@@ -421,7 +421,7 @@ class FinishopenidloginAction extends Action
 
         $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)) {