Every account that has a password must change it every 90, 180 or 365 days, depending on the period that applies. The platform default is 365 days, which is also the longest period allowed. An organisation administrator can choose a shorter or equal period for their organisation. If you belong to several organisations, the shortest period applies to you. Accounts that sign in only with Google or GitHub and have no Sentinel password are not affected until they add a password. API keys and Drupal site connectors are not affected.
Sentinel emails you 14 days before, 3 days before, and on the day your password expires, once each. The subject reads Your Sentinel password expires in N days or Your Sentinel password has expired. Select Change your password in the email to open the Sign-in and security tab of Profile. Accounts that existed before this rule started have at least 30 days before their first expiry.
The Sign-in and security tab of Profile shows Password last changed with the date and how long is left, for example "expires in 20 days", under Change Password. An Expiring soon badge appears within 14 days of expiry and an Expired badge once it has passed. Within 14 days of expiry the profile header above every tab also shows Password expires in N days (or Password expired), and a small number appears on the Sign-in and security tab. Accounts without a password do not show any of these.
When your password has expired at sign-in, Sentinel checks your password, Terms and any two-factor code first. It then opens Change your password with "Your password has expired and must be changed." instead of starting a session. If a session is already open when the password expires, the next refused request sends you to the same page with "Your password is older than N days and must be changed." and a Sign out button. At sign-in the page does not state the number of days.
Enter your Current password, a New password and Confirm new password, then select Change password and continue. The new password follows the same rules as registration: at least 8 characters with an upper-case letter, a lower-case letter, a digit and a special character. It must differ from your current one; otherwise Sentinel says Choose a password different from your current one. A wrong current password is shown under that field. After success, Sentinel opens the page you were going to. If the sign-in took too long, the page says This sign-in has expired; select Sign in again and repeat the sign-in. Use Back to sign in at the top of the page to leave without changing it. While the password is expired, an open session can only change the password, view your own profile, check password status and sign out. You can also change it in Profile or use Forgot password, which sets a new password and restarts the period. A reset refused for reusing the current password leaves the reset link usable. Changing the password here ends your older sessions on other browsers and devices; the sign-in you are completing starts normally. If a session was already open when the password expired, it carries on after the change. Where it cannot, because you signed in through the central sign-in page or the session has reached its longest length, a message reads Password changed. Sign in with your new password. and the sign-in page opens.
Organisation administrators choose the period in Settings → General, in the organisation Security card, under Password rotation: Every 3 months, Every 6 months or Every 12 months. The card says how long the period currently is, and whether it is the platform default. Options longer than the platform default are disabled with a note such as "Platform maximum is N months." Select Use the platform default to follow the platform period, including later changes to it. If the platform default is lowered below your chosen period, the shorter platform period applies and the card still shows your choice until you change it. Select Save security settings and confirm Save security settings? with Save. Other members do not see the card and can only read the period through the API (GET /api/v1/organizations/{id}/settings/password-policy).
Two-factor authentication
For password sign-in, use the Two-factor authentication card on the Sign-in and security tab of Profile to enable two-factor authentication. The profile header shows Two-factor on or Two-factor off, and the tab shows a small number while two-factor is off:
- Open the two-factor setup.
- Scan the QR code with an authenticator app, or enter its setup key manually.
- Enter the app's six-digit code to confirm setup.
- Save the recovery codes in a secure place outside this browser.
At sign-in, enter an authenticator code. If the app is unavailable, use an unused recovery code. Each recovery code can be used once. Each authenticator code also works once: if you are asked for a code again within the same 30 seconds (for example right after signing in), Sentinel says "This code has already been used. Wait for the next code in your authenticator app." Enter the next code when your app shows it; this does not count as a failed attempt. You can generate replacement recovery codes from the same card; the old set then stops working.
Codes by SMS
Phone codes are available only when the platform has switched on phone messaging and phone codes; otherwise the Sign-in and security tab and sign-in show only the authenticator app and recovery codes. They are an extra method next to the authenticator app, never instead of it.
- Prerequisites: the authenticator app is set up and you have a confirmed mobile number (Mobile number card on the Sign-in and security tab of Profile). Accounts that sign in only with Google or GitHub have no password, do not see the Two-factor authentication card and cannot use phone codes.
- Profile card (Sign-in and security tab): Two-factor authentication lists Authenticator app (On), Codes by SMS (with your masked number and "codes come by SMS") and Recovery codes (New recovery codes). Next to phone codes select Turn on or Turn off. Without a confirmed number the row shows an Add mobile number link instead. Turning phone codes on requires a recent authenticator or recovery code. Turning them off may ask for a two-factor code, depending on your security level (the "Confirm it's you" dialog). Once on, Offer first at sign-in lets you choose Authenticator app or SMS code. The Turn off two-factor authentication button turns off phone codes too.
- Platform administrators must keep the authenticator app; their card says so. They can sign in with a phone code, but Confirm it's you always asks them for the app or a recovery code.
- At sign-in: after your password, Choose how to get your code lists Authenticator app (the preferred method is tagged Usual), SMS and Use a recovery code. On the code screen, Resend code appears after a countdown (60 seconds by default); Use another method goes back. Codes expire after 10 minutes. Sentinel sends at most 5 codes an hour for your account or number, and applies a limit per network. If Sentinel is sending too many phone codes overall, codes by phone are refused for a while with "We cannot send codes by phone right now. Use your authenticator app, or try again later." The same step is used for OpenID Connect and command-line device sign-in.
- Too many wrong codes: five wrong codes, of any method, pause sign-in for 15 minutes for every method, including recovery codes. Wait, then try again.
- Confirm it's you: sensitive actions can accept a phone code, except for platform administrators (app or recovery code only). Changing or removing your mobile number needs the authenticator app or a recovery code; if you try a phone code the dialog refuses it and asks again for the app.
- If your number goes away: removing your mobile number turns phone codes off. The authenticator app and recovery codes keep working, and the security email says so. Adding a number again does not turn phone codes back on; select Turn on again. If support disables your number, phone codes stop.
An organisation can require two-factor authentication for password sign-in. In that case, setup is required and you cannot turn it off. Google and GitHub sign-ins follow the provider's own checks. If your account has two-factor set up, sensitive actions can still ask for a code while you are already signed in.
Where Sentinel has turned on Two-factor security, the strictest level across your organisations controls how often you confirm an action. At Medium, a code is remembered until sign-out or for four hours, while high-risk actions need a code from the last ten minutes. At High, sensitive actions ask again after ten minutes. At Low, sensitive actions, including deleting a site or making someone an administrator, do not ask again during a session of up to eight hours. Changing the security level, security method changes such as turning off two-factor or generating recovery codes, approving a CLI sign-in that allows changes and creating an API token still require a recent code. A remembered phone code does not satisfy an action that needs your authenticator app or a recovery code, such as changing or removing a number used for phone codes. Follow the prompt shown for the action.
Where security levels are not available, a successful Confirm it's you check can cover further sensitive actions for up to ten minutes, including after you reload the same tab. Reloading does not restart that time. Signing out or changing accounts clears the confirmation. If your browser cannot retain it, a reload can require another code.
If you lose both the authenticator and recovery codes, ask your administrator for help. An authorised administrator can reset a member's two-factor setup after checking their identity. An organisation administrator cannot reset another administrator's two-factor setup; contact support for that case. An administrator also cannot reset it for a person who belongs to another organisation that the administrator does not administer; Sentinel then says to contact Sentinel support. The service checks the target account's roles before allowing a reset. A reset invalidates the old app secret and codes, records the action, and sends an email. Set up two-factor authentication again when required.
