Skip to main content
Version: 3.x

SetPassword

Sets the user's password from the token sent by email using the RequestPasswordReset mutation.

type SetPassword {
token: String
refreshToken: String
csrfToken: String
user: User
accountErrors: [AccountError!]!
errors: [AccountError!]!
}

Fields

token (String)

JWT token, required to authenticate.

refreshToken (String)

JWT refresh token, required to re-generate access token.

csrfToken (String)

CSRF token required to re-generate access token.

user (User)

A user instance.

accountErrors ([AccountError!]!)

errors ([AccountError!]!)