Two-Factor Authentication and Login History

Two-factor authentication (2FA) adds a second check when someone logs in. As well as their username and password, the staff member enters a six-digit code from an authenticator app on their phone. Even if someone learns the password, they cannot log in without the phone. We recommend 2FA for anyone who can see client details, take payments or change settings.

This article also covers Force log out, which signs a staff member out everywhere, and Login History, which shows every login and failed login attempt for your business.

Before you start

  • The staff member needs a login. They must have a Login User Name in the Security section of their staff record. See "Creating a login".
  • The staff member needs an authenticator app on their phone, such as Google Authenticator or Microsoft Authenticator.
  • It is easiest to set up 2FA with the staff member present, as they need to scan a code with their phone and read back a code from the app.

How to turn on 2FA for a staff member

  1. Click Settings in the left menu.
  2. Click Manage Staff under Staff.
  3. Click the staff member.
  4. On the Details tab, go to the Security section and check Login User Name is filled in.
  5. Click Enable Two Factor Authentication. The staff record is saved first.
  6. A 2FA window opens with a QR code and, underneath, a code for entering manually.
  7. On their phone, the staff member opens their authenticator app, adds a new account and scans the QR code. If they cannot scan it, they can type in the manual code instead. The app shows a new account for You'reOnTime with a six-digit code that changes every 30 seconds.
  8. Close the 2FA window.
  9. A box asks you to "Enter the Authentication Code which appears on the app to enable". Type in the six-digit code currently showing in the app and click OK.
  10. The page reloads. The Enable Two Factor Authentication button is replaced with Disable Two Factor Authentication, which means 2FA is on.

If you see "Invalid authentication code", the code was wrong or had already changed. Click Enable Two Factor Authentication and try again with a fresh code.

Turning on 2FA signs that staff member out of You'reOnTime on all their devices. They need to log in again using their password and a code.

How staff turn on 2FA for themselves

If their security level allows it, staff can set up 2FA for their own login.

  1. Click your name at the top right of the screen.
  2. Click Enable 2FA during login.
  3. Follow steps 6 to 10 above.

To turn it off again, click your name and choose Disable 2FA during login, then enter the current code from your app.

The Enable 2FA during login option only shows in the name menu when:

  • your security level has the permission to set up 2FA (see "Customising security levels"),
  • you have a login username,
  • you are not logged in at the Manager security level (managers set up 2FA from the staff record instead), and
  • your business is not on the Free plan.

Logging in with 2FA

  1. Enter the business code, username and password as normal.
  2. A 2FA Code screen appears.
  3. Open the authenticator app, type in the six-digit code for You'reOnTime and click login.

If the code is wrong, the screen says so and you can try again. After 5 incorrect codes the login is locked for 15 minutes, with the message "Too many incorrect codes. Please wait 15 minutes and try again." A successful login resets the count.

2FA applies when logging in with a username and password. Switching between staff with a PIN on a computer that is already logged in does not ask for a 2FA code.

How to turn off 2FA for a staff member

  1. Open the staff member's record in Settings > Manage Staff.
  2. In the Security section, click Disable Two Factor Authentication.
  3. A box asks you to "Enter the Authentication Code which appears on the app to disable". Type in the code currently showing in the staff member's authenticator app and click OK.
  4. The page reloads and the Enable Two Factor Authentication button is back.

A current code from the staff member's app is always needed to turn 2FA off. If the staff member has lost their phone or deleted the app, contact You'reOnTime support.

Forcing a staff member to log out

Use Force log out if a staff member has left, a device has been lost, or you think someone else is using their login.

  1. Open the staff member's record in Settings > Manage Staff.
  2. In the Security section, click Force log out.
  3. Click OK to confirm.

The staff member is signed out on every computer and device the next time they open a page, and must log in again. Force Log Out does not change their password. If you think the password is known to someone else, change it as well. See "Changing Staff Passwords".

Staff are also signed out everywhere when their password is changed, and when their staff record is made inactive.

Viewing login history

Login History lists every login to your business, both successful and failed.

  1. Click Settings in the left menu.
  2. Click Login History under Staff.
  3. The most recent logins are listed first. For each login you see:
    • Date: when the login happened.
    • Staff: the staff member, if the username matched one.
    • Type: how they logged in, either Password, Pin Number, Quick Pin or Mobile App.
    • Location: the business location.
    • IP Address: the internet address the login came from.
    • Browser: the browser or device used.
    • Result: Successful, or Failed with the reason.
  4. To narrow the list, type in the Find by IP address box, or click Filter and choose a Staff member, Location, Start Date and End Date.

To see one staff member's recent logins, open their staff record and click the Logins tab. It shows their last 50 logins.

Failed login reasons

Reason What it means
Username or password is incorrect The password was wrong, or the username does not exist
Two-factor code is incorrect The password was right but the 2FA code was wrong
Two-factor locked out A login was tried during the 15-minute lockout after too many wrong codes
Pin number is incorrect A wrong PIN was entered on a logged-in computer
Quick pin staff member is not valid A quick PIN login was tried for a staff member who could not be found

If the business code that was typed in does not exist, the code is shown in brackets after the reason.

New location login emails

When a staff member logs in with a password from an internet address they have not logged in from in the last two months, an email titled "Your You'reOnTime account was used from a new location" is sent to your business email address. It shows the username, time, browser, approximate city, state and country, and IP address. If you don't recognise the login, use Force log out and change that staff member's password.

Things to know

  • Who can see Login History. Login History and the Logins tab only show to users whose security level allows them to manage staff security.
  • Turning 2FA off always needs the app. Whoever turns 2FA off, from the staff record or the name menu, needs the current code from the staff member's authenticator app.
  • Plans. Self-service 2FA from the name menu is not available on the Free plan.
  • How long history is kept. Login history is kept for 90 days.
  • Restricting where staff can log in from. To only allow logins from your shop's internet connection, see "Restricting Access to Specific IP Addresses".

Related articles

Still need help? Contact Us Contact Us