Skip to content

Interface: PasswordReset ​

Defined in: server/accounts.ts:85

What sendPasswordReset is given: whom to write to, and the token that lets them set a new password.

Properties ​

PropertyTypeDescriptionDefined in
idstringThe player id.server/accounts.ts:87
namestringThe account name, to remind the player of it.server/accounts.ts:89
emailstringThe account's email address.server/accounts.ts:91
tokenstringLets its holder set a new password, once. Only its hash is stored.server/accounts.ts:93
expiresAtnumberWhen the token stops working, in epoch milliseconds.server/accounts.ts:95

MIT licence. Tickflare is an independent project and is not affiliated with Cloudflare.