Skip to content

Commit

Permalink
chore(authentication): merge fallback empty objects (#1243)
Browse files Browse the repository at this point in the history
  • Loading branch information
Renc17 authored Dec 4, 2024
1 parent 21c977f commit 7d98124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/authentication/src/handlers/local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ export class LocalHandlers implements IAuthenticationStrategy {
email,
hashedPassword,
isVerified,
...merge(userInvitationExtensionData, userData),
...merge(userInvitationExtensionData ?? {}, userData ?? {}),
});
}
delete user.hashedPassword;
Expand Down

0 comments on commit 7d98124

Please sign in to comment.