Table of Contents

IUserManager.BeginResetPassword Method

Exchanges a password reset token by a change password token.

Remarks

if the Token is an invalid password reset token an exception is raised.

Syntax

Unit: Sphinx.UserManager

function IUserManager.BeginResetPassword(User: TUser; const Token: string): string; virtual; abstract;

Parameters

<-> Parameter Type Description
User TUser The user which the password should be reset.
const Token string The password reset token to be used.

Returns

The token that should be used to change the password.

See also