Cherry před 2 roky
rodič
revize
97c880c450
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      addons/third/library/Service.php

+ 2 - 2
addons/third/library/Service.php

@@ -83,7 +83,7 @@ class Service
                     throw new Exception($auth->getError());
                 }
                 $user = $auth->getUser();
-                $fields = ['username' => 'u' . $user->id, 'email' => 'u' . $user->id . '@' . $domain];
+                $fields = ['username' => 'u' . $user->id, 'email' => 'u' . $user->id . '@' . $domain];
                 if ($avatar) {
                     $fields['avatar'] = function_exists("xss_clean") ? xss_clean(strip_tags($avatar)) : strip_tags($avatar);
                 }
@@ -164,7 +164,7 @@ class Service
                         throw new Exception($auth->getError());
                     }
                     $user = $auth->getUser();
-                    $fields = ['username' => 'u' . $user->id, 'email' => 'u' . $user->id . '@' . $domain];
+                    $fields = ['username' => 'u' . $user->id, 'email' => 'u' . $user->id . '@' . $domain];
                     if ($nickname) {
                         $fields['nickname'] = $nickname . $username;
                     }