Skip to content

How to Set Up Account Security (2FA, IP Whitelist, and Session Duration)

The Security combining two-factor authentication (2FA) settings and recovery codes, customer PII masking, STOP coverage, IP Allowlist, Session Lifetime, Temporary access limit, as well as Outbound-Only mode.

  • Each user can enable Two-Factor Authentication for their own account.
  • To change account-level settings (Mask customer personal data, IP Allowlist, Session Lifetime, Temporary access limit, and Outbound-Only Mode), you need the settings:write (Admin or Owner) permission.
Account security settings page in the portal
Account security settings page in the portal
  1. Open the Security page

    Open Settings › Security › Security (/settings/security).

  2. Enable Two-Factor Authentication (2FA) and save your recovery codes

    On the card Two-Factor Authentication panel, click Enable 2FA. Scan the QR code using an authenticator app (or copy Manual entry key with the button Copy the), enter the 6-digit code in Verification Code, then click Verify & Enable. On the Save Your Recovery Codes panel, click Copy all or Download .txt, check I have saved these recovery codes in a safe place, then click Complete.

  3. Regenerate 2FA recovery codes (if needed)

    When 2FA is active, the card displays Recovery codes along with the amount of Remaining {count}. Click Generate new codes, enter the 6-digit Authenticator Code, then click Generate New Codes to issue 8 new one-time codes and deactivate the old ones.

  4. Set Up IP Allowlist

    On the card IP Allowlist, check the current Your IP address. Click Add IP Rule, enter a CIDR range (for example, 203.0.113.0/24 or 198.51.100.10/32) and an optional label, then save. Once your IP address status is Covered by rules, turn on the Enable IP Allowlist.

  5. Configure Portal Login Session Validity Period

    On the card Session Lifetime, select Session Duration (15 minutes, 1 hour, 8 hours, 24 hours (default), or 7 days) then click Save.

  6. Set Temporary Access Limit

    On the Temporary access limit card, fill in Maximum duration (days) to limit the maximum number of days a temporary user account can be granted access (leave empty for No limit), then click Save.

  • Users who enable 2FA are asked to enter a 6-digit TOTP code (or one of 8 one-time recovery codes) when logging in.
  • When Enable IP Allowlist is on, requests are only accepted from registered CIDR ranges.
  • New login sessions follow the Session Duration (with silent renewal up to 24 hours after expiration as long as it does not exceed the account session limit).
Card in /settings/securitySettings & OptionsDefault ValueNotes
Hide customer personal dataPII sensor toggle, mode By permission (default) vs Reveal on click (logged in audit), account/ID number patterns, and up to 10 custom regexOffSee How to Hide Customer Personal Data (PII Masking).
STOP / Opt-Out ScopeSTOP replies stop the WhatsApp campaign and STOP also blocks generic (conductor) trafficCampaign: Aktif, Conductor: NonaktifSee Opt-Out, Consent, and STOP.
Two-Factor AuthenticationEnable 2FA, Disable 2FA (password required), Generate new code (8 one-time recovery codes)NonaktifRequiring 2FA for all accounts is enabled through support Mahadata.
IP AllowlistThe Enable IP Allowlist + list of CIDR rulesNonaktifTo enable the toggle, at least one CIDR rule must cover your current IP address so that you are not locked out.
Session Duration15 minutes, 1 hour, 8 hours, 24 hours (default), 7 days24 hours (default)Applies to the next portal login session.
Temporary access limitMaximum duration (days)Unlimited (empty)Limits the maximum duration when the admin sets Access Period on the Users.
Outbound-Only ModeThe Enable Outbound-Only ModeNonaktifHides the inbox menu and mutes notifications/webhook message.inbound for blast/API-only accounts, while automation triggers continue to run.
  • The Enable IP Whitelist switch cannot be turned on: Make sure you have added at least one CIDR rule that covers your Your IP currently (the indicator shows Covered by rules).
  • Unable to log in due to a lost authenticator app: Use one of the 8 Recovery codes you saved, or ask the account admin to reset your 2FA via Settings › Users › Users.