Skip to content

Commit

Permalink
rm avatar attributes from syncing user info to avoid replacing the cu…
Browse files Browse the repository at this point in the history
…rrent avatar to null
  • Loading branch information
warcooft committed Sep 14, 2024
1 parent 3993ca0 commit 2ad2750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Libraries/MicrosoftOAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ protected function setColumnsName(string $nameOfProcess, object $userInfo): arra
return [
$this->config->usersColumnsName['first_name'] => $userInfo->givenName,
$this->config->usersColumnsName['last_name'] => $userInfo->surname ?? null,
$this->config->usersColumnsName['avatar'] => null,
// $this->config->usersColumnsName['avatar'] => null,
];
}

Expand Down

0 comments on commit 2ad2750

Please sign in to comment.