Table of Contents

Enum TwoFactorResetStatus

Namespace
FishMMO.Database.Data.Enums
Assembly
FishMMO-DB.dll

Where a delayed two-factor reset request has got to.

public enum TwoFactorResetStatus

Fields

Cancelled = 1

Withdrawn — by staff, or by the account signing in normally, which proves the owner still has their second factor.

Completed = 2

The account used it after it took effect.

Pending = 0

Waiting for its effective time, or effective and not yet used.

Remarks

Stored as the integer. Pending is 0 because it is the column default and the value the one-pending-request-per-account partial index is filtered on (status = 0); renumbering it would silently change what that index constrains.