Password Reset

Demonstrates useDirectusAuth().passwordRequest(email) and passwordReset(token, newPassword).

Directus Config Required
Requires the PASSWORD_RESET_URL_ALLOW_LIST environment variable to be set in your Directus instance. The URL receives the reset token as a query param.

Step 1 - Request reset email

Directus Config Required
The directus-template-cli cms example template uses a dummy email address, and therefore you'll need to register a new user and ensure your Directus instance is configured with a mail sender to test this feature.