Sign-in, registration and security
How players sign in and create accounts, how long a session lasts, how to turn on 2FA and captcha, and when the admin panel asks for the password again.
This is where you decide who gets onto the site and how: a login and password form or only Steam and Discord, whether an email is required, which role a newcomer gets, how long a sign-in lasts and where captcha sits. Both sections are shown only to the owner with admin.boss, and almost every field here asks for your password before saving.
The Steam, Discord and Telegram buttons are connected on a separate screen, Sign-in methods. This page holds the rules shared by every method.
Sign-in and registration
AdminSettingsSign-in & registration
| Field | Default | What it changes |
|---|---|---|
| Authorization & Registration | on | when off, the sign-in and sign-up buttons disappear and nobody can sign in |
| Login mode | Login and password | "Social networks only" hides the password form; people sign in through connected providers only |
| Sign-in in a pop-up window only | on | sign-in opens in a window over the page; the separate sign-in and sign-up pages do not open |
| Password Recovery | off | a "Forgot password?" link in the sign-in form. The reset link is sent by email |
| Email Confirmation | off | a new account starts working after the person opens the link from the email |
| Ask for a login and e-mail after social sign-in | off | after the first social sign-in the person enters a login, email and password |
| Default Registration Role | No role | the role every new account gets |
You can pick the same role in the role editor, which also shows which role is currently given at registration.
Email confirmation needs a mail server.
The "Email Confirmation" switch stays locked until sending through SMTP is on in the Mail section. Click "Set up mail" and set up email sending. If you turn mail off while confirmation is on, new users get no email and cannot sign in.
"More options" holds the length limits for logins, passwords and names. By default a login is 4 to 20 characters, a password 8 to 128, a name 2 to 30. A minimum password length below 6 is not allowed.
Sign-in is switched off.
This banner appears when "Authorization & Registration" is off. The other settings in the section do not apply until you turn it back on.
Sessions
AdminSettingsSecurity
The "Remember me" at sign-in switch adds a tick to the sign-in form, and "Remember for" sets how long it lasts: 1, 7, 30 or 90 days, 30 by default. "Sign out when the browser changes" is on by default: a session copied to another device is refused. "Sign out when the IP address changes" is off by default: it signs out players on mobile internet and VPN. "Players can change their profile address" (on) lets players change the last part of their profile link.
Two-factor authentication
"Sign-in with a code from an app (2FA)" is on by default: players set up Google Authenticator or a similar app in their profile. "Require the code from everyone" makes everyone set it up, and the site keeps reminding them until they do. "Site name in the authenticator app" is shown next to the code; if empty, the site name is used.
"Accept slightly outdated codes" defaults to "Up to 30 seconds late". That helps when the phone's clock is slightly behind. The larger the reserve, the easier a code is to guess.
Captcha
Captcha is turned on separately for sign-in, sign-up and password reset. "Captcha Type" is shared by all forms: reCAPTCHA v2, reCAPTCHA v3, hCaptcha or Cloudflare Turnstile. The chosen type shows two fields, the site key and the secret key, which the captcha service gives you. reCAPTCHA v3 also has "reCAPTCHA v3: minimum score"; 0.5 suits most sites.
Captcha is on without keys
Without keys nobody can sign in or register, you included. Captcha cannot be saved without keys: the field shows "Paste the key: without it captcha lets nobody through.". If such a setting still ended up in the config, the section shows this banner with a "Paste keys" button. Paste both keys or turn captcha off.
Apps and other API clients cannot solve a captcha, so while it is on for sign-in or sign-up they are refused. "API sign-in without captcha" lets them through; password guessing over the API is then held back only by attempt limits.
Password again in the admin panel
"More options" in the Security section controls when the admin panel asks for your password again. "Ask for the password again" defaults to "Before sensitive actions": changes to money, roles, passwords, keys and site code. "Before sensitive actions and moderation" adds bans, ending someone else's sessions and confirming someone else's email. "Never" lets anyone who reaches an open admin panel do all of this.
| Field | Default | What it means |
|---|---|---|
| Ask after a pause of | 15 minutes | while sensitive actions follow each other faster than this, no password is asked |
| Ask at least every | 4 hours | even without pauses, the password is asked once this much time has passed |
| Moderation without the password for | 12 hours | how long bans, unbans and similar actions go through without the password |
"Pick a time no shorter than the pause." means "Ask at least every" is shorter than "Ask after a pause of". "Pick a time no shorter than “Ask at least every”." is about "Moderation without the password for".
"Block scripts the site did not issue" is off by default: a foreign script only gets reported to the security log. When on, the browser does not run such a script. Turn it on once the security log stays empty.