Client
Accounts.onEmailVerificationLink
import { Accounts } from 'meteor/accounts-base'
Source Register a function to call when an email verification link is clicked in an email sent by Accounts.sendVerificationEmail
. This function should be called in top-level code, not inside Meteor.startup()
.
Arguments
- callback Function
-
The function to call. It is given two arguments:
-
token
: An email verification token that can be passed toAccounts.verifyEmail
. -
done
: A function to call when the email verification UI flow is complete. The normal login process is suspended until this function is called, so that the user can be notified that they are verifying their email before being logged in.
-
Please login to continue.