SurveyTester comes with sensible defaults: passwords need 8 characters with an upper-case letter, a lower-case letter and a special character, they never expire, and a login lasts 30 days after its last use, so active users never log in again. Many companies are fine with that. Others have their own security policy: longer passwords, a new password every 90 days, no reuse of old passwords, or a fresh login every working day. In Company Settings an administrator sets these rules for the whole company.
Where to find the settings
- Open Administration → Company Settings.
- Scroll to Login security. Below the two-step login you find four groups: Password rules, Password expiry and history, Login duration and Test tokens (browser extension).
- Enter a value and leave the field: it is saved at once. Next to each field you see the default; Use default removes your company's own value again.

Making a rule weaker (a shorter minimum length, a longer login, switching expiry off) asks for your password first, see Staying logged in safely. Making it stricter does not.
Password rules
| Setting | Default | Allowed |
|---|---|---|
| Minimum length | 8 | 8–64 |
| Minimum upper-case letters | 1 | 0–10 |
| Minimum lower-case letters | 1 | 0–10 |
| Minimum digits | 0 | 0–10 |
| Minimum special characters | 1 | 0–10 |
The rules apply to every new password: at the first login, after a password reset and when a user changes the password. Existing passwords stay valid until they are changed, unless the check at login is on (see below). Letters of every language count (ü is a lower-case letter), and any other character, the space included, is a special character.
Checking existing passwords at login
Below the rules, the switch Passwords are checked against these rules at every login brings existing passwords up to new rules at once. When it is on, SurveyTester checks the password a user types at the login against the current rules. If it breaks them, the user is asked to choose a new password right after the password (and the two-step login code), on the same page as an expired password, and can only continue with a password that meets the rules. Users whose password already meets the rules notice nothing. The switch is off by default; switching it off asks for your password.
Every page where a password is set shows the rules of the user's company and ticks them off while the user types. SurveyTester checks the rules again on the server, so they cannot be bypassed.

Password expiry and history
| Setting | Default | Allowed |
|---|---|---|
| New password every ... days | 0 = never | 0, 30–730 |
| Last passwords that may not be reused | 0 = off | 0–24 |
With an expiry:
- 7 days before, the user gets an email "Your SurveyTester password expires soon" with the date.
- After the date, the next login asks for a new password right after the password (and the two-step login code). The old password is never accepted as the new one. Then the user is logged in as usual.
- The counting starts with the last password change. When the setting is switched on, nobody's password expires at once: SurveyTester counts from the day the feature was installed or from the last change.

The history remembers the last 24 passwords of every user, so it works at once when you switch it on.
Login duration
| Setting | Default | Allowed |
|---|---|---|
| Login ends after ... hours without use | 720 (30 days) | 1–8760 |
| Login ends at the latest after ... hours | 0 = no maximum | 0, 1–8760 |
- The first value is a sliding window: each use starts it again, so an active user stays logged in.
- The second value is a fixed maximum: the login ends after that many hours, even while the user works. For example, 12 means a fresh login every working day.
A shorter duration applies to logins that are already open: they end at their next request once they are too old. It can take up to 5 minutes until all servers use a new value.
Test tokens (browser extension)
| Setting | Default | Allowed |
|---|---|---|
| Test token ends after ... minutes without use | 120 | 15–1440 |
When a tester starts or repeats a test from SurveyTester, the browser extension does not get the tester's login. It gets a token for this test only, which ends when the test is finished or after this many minutes without use. The project's company decides; tests already running keep the value they started with.
Users in several companies
A user who belongs to several companies gets the strictest value of all their active companies, setting by setting: the longest minimum length, the shortest login duration, the shortest expiry. A company without its own value counts with the default.
Invitation links
The link in the invitation email works once and for 7 days. Sending the invitation again creates a new link, and the older one stops working. If a user reports that the link no longer works, send the invitation again in Administration → Users.
Good to know
- API service users are not affected by the expiry; they log in with their password for every job, and their login ends after 60 minutes without use.
- SurveyBots and test links are not affected.
- Single sign-on (SAML): your identity provider handles passwords; these rules do not apply there.
Key takeaway
The defaults keep logins long and simple; in Company Settings you can make passwords stricter, let them expire, forbid reuse and shorten logins, and SurveyTester shows and enforces the rules on every password page.
