IUserManager.ConfirmEmail Method
Sets the user e-mail as confirmed, using the provided confirmation token.
Remarks
This method flags the user e-mail as "confirmed" in the database, if the Token is a valid confirmation token. If the token is invalid, an exception is raised.
Syntax
Unit: Sphinx.UserManager
procedure IUserManager.ConfirmEmail(User: TUser; const Token: string); overload; virtual; abstract;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
User | TUser | The user which the e-mail should be confirmed. |
|
const | Token | string | The e-mail confirmation token to be used. |