diff --git a/auth.php b/auth.php index 96a4d85..39c6bbd 100644 --- a/auth.php +++ b/auth.php @@ -139,12 +139,11 @@ public function registerOAuthUser(&$userinfo, $servicename) $groups_on_creation[] = $this->cleanGroup($servicename); // add service as group $userinfo['grps'] = array_merge((array)$userinfo['grps'], $groups_on_creation); - // the password set here will remain unknown to the user $ok = $this->triggerUserMod( 'create', [ $user, - auth_pwgen($user), + null, $userinfo['name'], $userinfo['mail'], $userinfo['grps'],