• Modules
  • Authentication
  • Auth Email/Password
View Source Code

Auth Email/Password

Verify and Add Email and Password to existing user

Verify a user's email address and register it with an existing account.

Request

  • userToken
    string
  • email
    string
  • password
    string
  • oldPassword
    nullable string
  • verificationToken
    string
  • code
    string

Response

Usage

1. Install the module

2. Use this script

const data = await ctx.modules.auth_email_password.verify_add_email_pass({
  // Request body
});