MongocampVerifyEmail
Server 3.0 page of the verification link (/verify-email?token= — put it on the page of paths.verifyEmail; it must be public).
vue
<!-- pages/verify-email.vue -->
<template>
<MongocampVerifyEmail />
</template>- With
?token=it confirms the address once on mount (useMongocampAuth().verifyEmail) and offers Log in; emitsverified. - Without a token, or when the link is used or expired (
400, code4403— This link is no longer valid), it shows a form to mail a new link (requestEmailVerification, always202: if the address waits for a confirmation, a new mail is on its way). - The routes switched off (
404) ⇒ E-mail confirmation is not switched on on this server.;429⇒ the wait. In proxy mode a note.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
loginPath | string | module option loginPath | Where Log in goes. |
hideHeading | boolean | false | Hide the heading inside the card. |
header / footer slots as in MongocampLogin.