Browse Source

docs: `requireVerification=true` does accept password (#2980)

Martijn 1 year ago
parent
commit
ccdcc862b4
1 changed files with 2 additions and 3 deletions
  1. 2 3
      packages/core/src/config/vendure-config.ts

+ 2 - 3
packages/core/src/config/vendure-config.ts

@@ -401,9 +401,8 @@ export interface AuthOptions {
      * @description
      * Determines whether new User accounts require verification of their email address.
      *
-     * If set to "true", when registering via the `registerCustomerAccount` mutation, one should *not* set the
-     * `password` property - doing so will result in an error. Instead, the password is set at a later stage
-     * (once the email with the verification token has been opened) via the `verifyCustomerAccount` mutation.
+     * If set to "true", the customer will be required to verify their email address using a verification token
+     * they receive in their email. See the `registerCustomerAccount` mutation for more details on the verification behavior.
      *
      * @default true
      */