Skip to Content
MinexonMinexon

Two-step verification

Enable app-based verification for player accounts and check enrollment, sign-in, and recovery.

Two-step verification asks enrolled players for a second code when they sign in to your site. An authenticator app generates the code based on the current time, a method called TOTP. A player who cannot access their authenticator can finish signing in with a single-use recovery code. TOTP standard

Enable the module in the dashboard

  1. Open Settings → Modules → Accounts.
  2. Turn on Two-step verification and save the module changes. The Two-factor authentication button appears on player profiles.
  3. Complete enrollment on the player site using a test account. Each player pairs an authenticator with their own account.

Read access uses settings.modules.view. Toggling the module requires settings.modules.edit and settings.manage. The QR code is generated in the player's browser. Setup requires no provider account, external API key, or SMTP configuration. Modules

Player enrollment and recovery codes

  1. The player opens My profile → Two-factor authentication. In a TOTP authenticator, they scan the QR code or enter the Setup key manually.
  2. They enter the app's six-digit code. If the account has a password, they also enter their Current password. A passwordless provider account needs a fresh sign-in within the last 10 minutes. If the setup key expires, reload the page and scan the new QR code.
  3. They select Turn on two-factor authentication and save the eight recovery codes before leaving the screen. Minexon displays the codes once. Player setup guide

Two-factor authentication setup on a player profile, showing a sample QR code and the setup key field

When moving to a new phone, a player who still has access to their old authenticator or an unused recovery code can turn verification off from the same screen and enroll with the new app. Turning it off for an account invalidates the previous pairing and any unused recovery codes. Turning verification on or off for an account ends other sessions and revokes saved Remember me logins.

What happens at the next sign-in?

With the module on, the second step applies to new sign-ins with a password or a linked provider. If email verification is required, the player completes it first. On Verify your sign-in, the player enters a current authenticator code or an unused recovery code. If sign-in takes longer than five minutes, the player needs to start again. Sign-in with a code

Player sign-in verification with a shared field for an authenticator code or recovery code

Turning off the module in the dashboard pauses the second step for new sign-ins sitewide and hides the profile setup screen. Player enrollments are retained. Previously enrolled players are prompted for a code again when you re-enable the module.

Test the setup and troubleshoot

  1. Enroll a test account and save its recovery codes.
  2. Sign in from a separate browser session. Confirm that Verify your sign-in appears, then finish with a fresh code from the app.
  3. Use a recovery code on the next test sign-in. Confirm the same code cannot be used again. If you offer provider sign-in, check that it also prompts for the second step.
SymptomWhat to check
There is no verification button on the profileCheck that the module is enabled and the player is signed in to their account.
The QR code will not scanAdd a time-based account in the authenticator and use the setup key from the screen. Use a code from the latest setup entry in the app.
A six-digit code is rejectedCheck the site and account selected in the app. Set the device clock to sync automatically, wait for a fresh code, and try again.
The player cannot access their authenticatorAsk them to enter one unused recovery code in Authenticator or recovery code. The player settings screen cannot show the old codes again.