Skip to content

Password settings

Password settings set the rules for the passwords people use to log in to Janison Insights. You can set:

  • how complex passwords must be
  • whether Insights generates them
  • when they expire
  • which ones staff can see
  • whether they can be reused.

Important

Keep at least the password settings your site was set up with, so its password policy stays strong. You can make them stronger.

Change the password settings

  1. Select Settings > Password Settings.
  2. Expand a section and change its settings.
  3. Select Save.

Complexity rules

This section sets what a password must contain. With the rules on, a password needs at least one upper case letter, one lower case letter, one number and one symbol. It can't be shorter than the minimum length you set. It also can't contain the person's username, first name, last name, email address or phone number.

  1. No minimum complexity turns the rules off.
  2. Passwords must meet minimum complexity turns the rules on.
  3. Minimum password length is the fewest characters a password can have.
  4. Use generated password strength hint shows people a hint that Insights writes from the rules.
  5. Use custom password strength hint shows people your own wording. Enter it in the box below it.

The Complexity Rules section with labels A to E. A message says all passwords must conform to the complexity requirements and not contain the username, first name, last name, email or phone number. A is No minimum complexity. B is Passwords must meet minimum complexity, which is selected. C is Minimum password length, set to 5. D is Use generated password strength hint, which is selected, with an empty box below it. E is Use custom password strength hint, with a box of hint text below it.

A symbol is any of these characters: ~ ` ! @ # $ % ^ & * ( ) _ + - = { } | [ ] \ : ; " ' < > ? , . /

The password strength hint tells people what a password needs. It shows as a note above New Password on the Change Password page. It's also the error message when a new password doesn't meet the rules. To see which symbols count, people can hover over the icon at the end of the note.

The Change Password page for Leah Morgan. Below Old Password, a note reads Password requires at least 5 characters, one uppercase letter, one lowercase letter, one number, one special character, and ends with a help icon. New Password holds 2 characters and is outlined in red, with the same wording below it as an error message. Confirm Password is empty, above the Save button.

The generated hint always matches the rules, including the minimum length. A custom hint is your own wording, so update it whenever you change Minimum password length.

Password generation

This section sets whether Insights can generate passwords, and how it builds them.

  1. Don't generate passwords - they must be set manually means a person sets every password.
  2. Generate Passwords lets Insights generate passwords, using the method you choose below it.
  3. Generate randomly (with same minimum complexity as above) builds a random password as long as the Minimum password length. It has at least one upper case letter, one lower case letter, one number and one symbol.
  4. Generate from dictionary picks a word from the Password dictionary and adds a 2-digit number.
  5. Password dictionary holds the words to pick from, separated by semicolons.
  6. Generate by combining from two dictionaries joins a word from the first dictionary to a word from the second.
  7. First password dictionary holds the words a password can start with, separated by semicolons.
  8. Second password dictionary holds the words a password can end with, separated by semicolons.

The Password Generation section with labels A to H. A is Don't generate passwords - they must be set manually. B is Generate Passwords, which is selected. Indented below it, C is Generate randomly (with same minimum complexity as above) and D is Generate from dictionary, which is selected. E is the Password dictionary field, holding Password1 to Password4 separated by semicolons. F is Generate by combining from two dictionaries, G is First password dictionary and H is Second password dictionary.

With Generate Passwords selected, Insights gives a generated password to each new user who is imported or created without one. Self-registration can use generated passwords too, if it's set to in User settings.

The quick add form has its own password setting, described in Quick add user settings. Its dictionary option uses the Password dictionary on this page. If you save this page with Don't generate passwords - they must be set manually selected, quick add changes to passwords set by hand.

A generated password isn't checked against the complexity rules, so the words in a dictionary can be short and simple.

To let staff see generated passwords, see Reveal passwords.

Password expiry and reset policy

This section sets how often people must change their password, and how soon they can change it again.

  1. Minimum password change interval (days) is how many days a person must wait after changing their password before they can change it again. Enter 0 for no wait.
  2. Passwords never expire means nobody is made to change their password. People can still change it when they choose.
  3. Passwords must be changed after a period makes people set a new password once theirs reaches the age you set.
  4. Default validity period (applies to all roles, unless overridden in the table below) is the number of days a password lasts.
  5. The table gives a role its own number of days.

The Password Expiry and Reset Policy section with labels A to E. A is Minimum password change interval (days), set to 0. B is Passwords never expire. C is Passwords must be changed after a period, which is selected. D is Default validity period, set to 90. E is the table of roles, which has no roles yet. Its add row holds Organisation Administrator and 30, beside the Add button.

The minimum interval applies when people change their own password. If they try too soon, a message tells them how many days are left. Staff with permission can still change a person's password at any time, and the person can then change it again straight away.

When a password expires, the person must set a new one the next time they log in.

You can change the wording of both messages in String resources.

To give a role its own period, choose it in the Role list, enter a number in Days before expiry and select Add. The role appears in the table. In this example, people whose main role is Organisation Administrator must change their password every 30 days, and everyone else every 90 days.

The lower part of the Password Expiry and Reset Policy section after Add is selected. The table lists Organisation Administrator with 30 days before expiry and an edit icon. The same role and number are still in the add row, and the Add button is highlighted.

A role's period applies to people who have it as their main role. To change a period, select the row's edit icon and enter the new number. While you edit a row, it also has an icon that removes it. Your changes take effect when you select Save.

Reveal passwords

This section sets whether staff can see the passwords that were generated or set for other people, so they can pass them on. It applies only to passwords set by importing users. Insights shows every other password as ******.

  1. Never reveal passwords hides every password.
  2. Reveal some passwords shows the kinds of password you tick below it.
  3. Reveal passwords that were generated from dictionary shows passwords built from one dictionary or two.
  4. Reveal passwords that were set by someone else shows passwords that were given in an import file.
  5. Reveal passwords that were randomly generated by the system shows randomly generated passwords.

The Reveal Passwords section with labels A to E. A note at the top recommends password hashing. A is Never reveal passwords, which is selected, and B is Reveal some passwords. C, D and E are the tick boxes for passwords generated from dictionary, set by someone else and randomly generated by the system, all greyed out.

A password that someone sets for themselves is never revealed, and neither is a hashed password. Hashing scrambles a password when it's saved, so that nobody can read it back.

Insights hashes every password that's set on screen, including one that an administrator sets for someone else. A password set by importing users isn't hashed, whether it came from the import file or was generated during the import.

A revealed password shows:

  • in Password on the user's page
  • in the Password column of the Users list
  • under the test-taker's name on Manage attempts, when the attempt has no one-time code.

Kate Hill's user page. Below her name, organisation, org unit, username and email, the Password row shows her password in plain text and is highlighted.

The Password column shows only once it's made visible. Select Settings > User Settings, expand List View and tick Visible beside Password. The field on a user's page is set the same way, in Details View.

The List View section of User Settings. The table lists Username, Email, Show Name and Password, each with Visible ticked. The Visible tick box for Password is highlighted.

Re-using the same password

This section sets whether people can go back to a password they've used before.

  1. Allow users to set new passwords that they have used previously lets people reuse any old password.
  2. Don't allow users to set new passwords that they have used previously stops people reusing their most recent passwords.
  3. Number of passwords in history is how many recent passwords a new password is checked against.

The Re-using the same password section with labels A to C. A is Allow users to set new passwords that they have used previously, which is selected. B is Don't allow users to set new passwords that they have used previously. C is Number of passwords in history, greyed out and set to 3.

For example, with Number of passwords in history set to 3, a new password can't match the person's current password or the 2 before it. If it does, a message says the password has already been used.

Settings

Administrators change everything on this page at Settings > Password Settings. These other settings work with it.

Roles (Settings > Roles) — sets which roles can open Password Settings.

User Settings (Settings > User Settings) — List View and Details View set whether Password shows on the Users list and on a user's page. Its self-registration form can generate passwords only while Generate Passwords is selected.

Quick Add User Settings (Settings > Quick Add User Settings) — sets how users added with quick add get a password: set by hand, generated from the Password dictionary, or generated randomly.

String Resources (Settings > String Resources) — changes the wording of the messages people see when a password has expired or was changed too recently.