We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdf08a1 commit f2d4156Copy full SHA for f2d4156
packages/next/src/routes/rest/buildFormState.ts
@@ -218,6 +218,8 @@ export const buildFormState = async ({ req }: { req: PayloadRequestWithData }) =
218
!req.payload.collections[collectionSlug].config.auth.disableLocalStrategy
219
) {
220
if (formState.password) result.password = formState.password
221
+ if (formState['confirm-password'])
222
+ result['confirm-password'] = formState['confirm-password']
223
if (formState.email) result.email = formState.email
224
}
225
0 commit comments