Table of Contents

TGeneratePasswordResetTokenArgs Class

Arguments passed to the OnGeneratePasswordResetToken event, fired when Sphinx has generated a token that lets a user reset a forgotten password.

Remarks

The event handler is responsible for delivering the Token to the user, typically by sending an email so the user can complete the password reset.

Syntax

Unit: Sphinx.EventArgs

TGeneratePasswordResetTokenArgs = class(TSphinxModuleArgs);

Properties

Name Description
NewEmail The new email address associated with the reset, when the reset also changes the email; empty otherwise.
Token The generated password reset token that must be delivered to the user.
User The user requesting the password reset.