We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21c977f commit 7d98124Copy full SHA for 7d98124
modules/authentication/src/handlers/local.ts
@@ -305,7 +305,7 @@ export class LocalHandlers implements IAuthenticationStrategy {
305
email,
306
hashedPassword,
307
isVerified,
308
- ...merge(userInvitationExtensionData, userData),
+ ...merge(userInvitationExtensionData ?? {}, userData ?? {}),
309
});
310
}
311
delete user.hashedPassword;
0 commit comments