01 - Getting started and your account

Navigation: Index | previous: none (this is the first guide) | next: 02 - Public marketplace Last checked against the application: 25 Nov 2026

1. Who this guide is for

Note - three doors, kept apart. /login is for a company's own people. Drivers have their own door at /driver/login (see 26 - Driver portal and app). Traincu's own staff use /admin/login (see 21 - Admin operations). A personal (individual) customer registers at /ar/register/personal or /en/register/personal (see 04 - Personal account) and then signs in on the normal /login page.

2. What you can do here (summary)

Activity Who Screen(s)
Register a company and its owner A new company (a visitor) P-22 (/register)
Sign in with mobile or email and a password Any member P-21 (/login)
Sign in with a one-time code, and the second factor Any member, only while the platform has codes ON P-21, P-23 (/login/verify, /login/password)
Log in with Nafath A person whose identity was verified with Nafath, only while Nafath is ON P-21 (/login/nafath)
Forgot and reset a password Any member P-23 (/forgot-password, /reset-password/{token})
Confirm it is you before a sensitive change Any member /confirm-password
Accept an invitation into a company An invited person /invitations/{token}
Read the suspended-account notice A person whose company or access is paused /account/suspended
Edit your profile, photo, language, alert channels Any signed-in person A-04 (/profile)
Change your password, switch two-factor on or off Any signed-in person A-04 (/profile)
Prove your identity with Nafath Any signed-in person, only while Nafath is ON A-04 (/profile/identity)
Switch the page language Anybody /locale/{code} and the top bar
Switch between your companies A person who belongs to several companies (and every Owner, for "Add a company") Top bar company switcher
See and sign out your own devices Any signed-in person A-04 > Signed-in devices
Read the company's sign-in history and force a sign-out Owner (permission logs.sessions) L-04 (/activity-log/sessions)
Set the company's password and session rules Owner (permission settings.security) C-09 (/settings/security)
See every time Traincu support looked into your workspace Owner (permission settings.security) C-15 (/settings/support-access)

3. Before you begin

4. Where to find it

What Where
Register a company /register (link Register your company on the sign-in page and in the public header)
Sign in /login (public header Sign in > company door)
Forgot password /forgot-password (link Forgot password? under the password box)
Your profile Top bar > your name > My profile (/profile)
Your devices Top bar > your name > Signed-in devices (/profile?tab=devices)
Sign out Top bar > your name > Sign out
Switch company Top bar > the company name button (building icon)
Language Top bar > language button (for example EN) or, on a phone, inside your name menu
Sign-in history (L-04) Workspace > Company > Activity Log > button Sign-in history
Security policy (C-09) Workspace > Company > Settings > Rules > Security policy
Support access (C-15) Settings > Rules > Support access

5. The big picture (flowchart)

flowchart TD
  v1(["Visitor opens Traincu"]) --> d1{"Has a login?"}
  d1 -->|"No - a company"| r1["Register your company P-⁠22"]
  d1 -->|"No - a person booking trucks"| r2["Quick register R-⁠01 see guide 04"]
  d1 -->|"Invited by a company"| r3["Open the invitation link"]
  d1 -->|"Yes"| s1["Sign in P-⁠21"]
  r1 --> w1[["Company and owner login are made"]]
  w1 --> h1(["Owner is signed in - company home"])
  r2 --> p1(["Personal home"])
  r3 --> w2[["Membership is added to the company"]]
  w2 --> h1
  s1 --> d2{"Mobile or email and password right?"}
  d2 -->|"No"| e1["Message with attempts left"]
  e1 --> s1
  d2 -->|"Forgot it"| f1["Forgot password"]
  f1 --> s1
  d2 -->|"Yes"| d3{"Codes ON and a second factor needed?"}
  d3 -->|"No - the shipped state"| h1
  d3 -->|"Yes"| c1["Type the 6-digit code"]
  c1 --> h1
  h1 --> pr1["My profile - password, two-factor, devices, language"]

6. Activities, step by step

6.1 Register a company (P-22)

Purpose - Make a new company on Traincu and its first login, the Owner. Who - a visitor (nobody signed in). A signed-in person who uses Add a company in the company switcher walks the same wizard but skips the owner step and becomes the Owner.

Steps

  1. Open /register. The page shows "Register › Step 1 of 4" and seven tiles. Tick one or more activities: Shipper, Carrier, Owner-operator, Equipment, Workshop, Parts, Insurance. Press Continue. (At least one is required.)
  2. Commercial registration: type the 10-digit CR number (for example 1010XXXXXX). Press Continue. If that CR number already belongs to a Traincu company you are stopped (see "If something goes wrong").
  3. Your company:
    • If the commercial registry answers, you see "Found in the commercial registry. The legal name comes from there." with the Arabic (and English) name, which you cannot type over.
    • If it does not answer (the registry check is off by default), type Company name (Arabic) (required) and, if you like, Company name (English).
    • Add the Trade name, VAT number (optional), City (required) and the National address parts (all optional): Building number, Street, District, Postal code, Additional number.
    • Press Continue.
  4. The owner: type Owner name, Owner mobile, Owner email, a New password and Confirm password.
    • Codes OFF (shipped): press Create the account. The company, the Owner login and the activities are created at once, and you are signed in.
    • Codes ON: press Send the code, then type the 6-digit code on the next page and press Verify and register.
  5. You land on the company home with the message "Welcome to Traincu. Your company is registered; its activities wait for verification." A welcome message also goes to your email and to the bell (it needs the queue worker).
flowchart TD
  a1(["Open Register your company"]) --> b1["Step 1: tick the activities"]
  b1 --> b2["Step 2: type the 10-digit CR number"]
  b2 --> d1{"CR number valid and not taken?"}
  d1 -->|"No"| e1["Fix the number or contact support"]
  e1 --> b2
  d1 -->|"Yes"| sys1[["Registry looked up - may be off"]]
  sys1 --> b3["Step 3: company names, city, VAT, address"]
  b3 --> d2{"Fields valid?"}
  d2 -->|"No"| e2["Fix the red fields"]
  e2 --> b3
  d2 -->|"Yes"| d3{"Is someone signed in already?"}
  d3 -->|"Yes - Add a company"| sys2[["Company is made and you become its Owner"]]
  d3 -->|"No"| b4["Step 4: owner name, mobile, email, password"]
  b4 --> d4{"Mobile and email are new?"}
  d4 -->|"No"| e3["Sign in with that login and add the company from there"]
  d4 -->|"Yes"| d5{"Sign-in codes ON?"}
  d5 -->|"No - shipped"| sys3[["Company, Owner login, activities pending"]]
  d5 -->|"Yes"| b5["Send the code, type it, press Verify and register"]
  b5 --> sys3
  sys3 --> m1[/"Welcome message by email and bell"/]
  sys3 --> h1(["Owner is signed in on the company home"])
  sys2 --> h1

Fields

Field What to enter Rules / limits
Activity One or more tiles At least one; Shipper, Carrier, Owner-operator, Equipment, Workshop, Parts, Insurance
CR number Commercial registration Exactly 10 digits (Arabic-Indic digits are accepted and turned into 0-9); a CR already on Traincu is refused
Company name (Arabic) Legal name as in the CR Required when the registry did not answer; up to 190 characters
Company name (English) English name Optional; up to 190 characters
Trade name The name customers know Optional
VAT number 15 digits Optional; must start and end with 3
City A Saudi city from the list Required
Building number / Additional number 4 digits each Optional
Postal code 5 digits Optional
Street / District Text Optional, up to 120 characters
Owner name The owner's full name Required, up to 120 characters
Owner mobile Saudi mobile Required; must not belong to another login
Owner email Real email Required; must not belong to another login
New password / Confirm password The password the owner will use The company policy (default 8 or more characters, letters and numbers); both must match

Buttons and actions

Button What it does Who sees it
Continue Saves the step and opens the next one Everybody on the wizard
Back Goes to the previous step; your answers are kept Steps 2-4
Register the company Replaces Continue on step 3 for a signed-in person who adds a company A signed-in person
Create the account Makes everything at once (codes OFF) Step 4
Send the code / Verify and register / Resend code The code way (codes ON only) Step 4 and the code page

Statuses after registering

Thing Status Meaning What you can do next
Company Active (not verified) You may enter the workspace at once Upload the papers in C-03
Each activity Pending Its screens stay closed until staff approve it Hand in the papers; see 06

What happens next - The answers wait in your session; nothing is written until the last step is right. The Owner role is given with all its permissions. The company home shows "Get started" steps and a notice for each pending activity. Traincu staff work the verification queue.

If something goes wrong

Message Meaning and fix
"A CR number has 10 digits." Retype the number with exactly 10 digits.
"This CR number is already registered on Traincu. Sign in with the owner's mobile number, or contact support." The company exists. Sign in, or ask support.
"A VAT number has 15 digits, starting and ending with 3." Correct or clear the VAT number.
"This mobile number already has a login. Sign in with it, and add the company from there." Use Sign in, then Add a company in the company switcher.
"This email already has a login. Sign in with it, and add the company from there." Same.
"This company or owner is already registered. Sign in instead." Somebody finished the registration while your wizard was open.
"That code is not right. Please try again." / "Too many wrong codes. Please send a new one." / "That code has expired. Please send a new one." Codes ON only. Ask for a new code from the owner step.

6.2 Sign in with mobile or email and a password (P-21)

Purpose - Open your workspace. Who - any member of a company, or a personal account, whose account is active.

Steps

  1. Open /login (the page titled Sign in, with "For companies" above it).
  2. Type your Mobile or email. Type your Password (the eye button shows it). Tick Keep me signed in if you want.
  3. Press Sign in.
  4. You land where you were going, or on the company home (a company that runs trucks lands on its Owner or Operations dashboard; a personal account lands on its own home).
flowchart TD
  a1(["Open Sign in"]) --> b1["Type mobile or email and password"]
  b1 --> b2["Press Sign in"]
  b2 --> d1{"Too many tries in a minute?"}
  d1 -->|"Yes"| e1["Wait the seconds shown"]
  e1 --> b1
  d1 -->|"No"| d2{"Account found and active?"}
  d2 -->|"Locked"| e2["Locked until the time shown - opens by itself"]
  d2 -->|"Inactive"| e3["Contact an administrator"]
  d2 -->|"Found and active"| d3{"Password right?"}
  d3 -->|"No"| e4["Wrong mobile/email or password - attempts left"]
  e4 --> d4{"Failed tries reached the limit?"}
  d4 -->|"Yes"| e2
  d4 -->|"No"| b1
  d3 -->|"Yes"| d5{"Network and login hours allowed?"}
  d5 -->|"No"| e5["Refused with the reason"]
  d5 -->|"Yes"| d6{"A code asked? codes ON and two-factor"}
  d6 -->|"Yes"| c1["Code page - see 6.3"]
  d6 -->|"No"| sys1[["Session starts, history row written"]]
  sys1 --> h1(["Company home or personal home"])

Fields

Field What to enter Rules
Mobile or email The mobile or email you registered with Required. The label reads Mobile number only when codes are ON and the channel is SMS
Password Your password Required while codes are OFF. With codes ON it may be left empty to get a code instead
Keep me signed in Tick to stay signed in Not honoured when a code was asked (two-factor never outlives the session)

Buttons and actions

Button What it does Who sees it
Sign in Checks and signs you in Guests
Forgot password? Opens the recovery page Guests
Register your company / Register as a driver The two doors for new people under "New to Traincu?" Guests
Log in with Nafath Opens the Nafath page (6.4) Guests, only while Nafath is ON

Statuses of an account

stateDiagram-v2
  [*] --> Active
  Active --> Locked : too many wrong passwords or codes
  Locked --> Active : lock time over or administrator unlocks
  Active --> Inactive : administrator switches it off
  Inactive --> Active : administrator switches it on
  Locked --> Inactive : administrator switches it off
Status Meaning What you can do next
Active Can sign in Sign in
Locked 5 failed tries (company policy); locked for 15 minutes by default Wait, or ask an administrator to unlock sooner. A reset of the password also opens an automatic lock
Inactive Switched off by an administrator Contact an administrator

What happens next - A row is written in the sign-in history (L-04). A session starts. If you already have the maximum number of sessions (3 by default), your oldest session is ended. The session ends after 30 minutes without activity (company policy).

If something goes wrong

Message Meaning and fix
"Wrong mobile/email or password." with "N attempts left - the account locks for 15 minutes after 5 failed tries." Retype. The same words appear for a number that does not exist, so nobody can learn who has an account.
"This account is locked until HH:MM." Wait, or use Forgot password? (a reset opens an automatic lock), or ask an administrator.
"This account is not active. Contact an administrator." The login is switched off.
"Too many sign-in attempts. Try again in N seconds." At most 10 tries a minute per address and identifier.
"Sign-in is not allowed from this network." The company allows Owner and Operations Manager logins only from listed addresses (C-09).
"Sign-in is allowed from HH:MM to HH:MM." Your role has login hours.
"Your role can sign in from the mobile app only." Use the Traincu Driver app.
"You were signed out after 30 minutes without activity." The idle timeout. Sign in again.
"You must change your password before you continue." You are sent to My profile, password card, until you choose a new password (a temporary or expired password).

6.3 Sign in with a one-time code, and the second factor (P-21, P-23)

Note - only while codes are ON. With the shipped setting (OFF) these pages redirect to /login and nobody is asked for a code, even an Owner or Finance person. The role rule "Owner and Finance need two-factor" is saved but not enforced until two switches are on: Sign-in codes (OTP) and A code at every sign-in for the roles that ask for one (A-35). A person who switched two-factor on for themselves, or whose administrator required it, is also asked only while codes are ON.

Purpose - Prove it is you with a 6-digit code sent to your email (or SMS, once a gateway exists). Who - anybody who leaves the password empty (code first), or a person who needs two-factor.

Steps

  1. On Sign in, either type the password and press Sign in (a two-factor person is then sent to the code page), or leave Password empty (the page says "Leave it empty and we will email you a code instead.") and press Sign in.
  2. The Enter the code page says where the code went (masked, for example a•••@mail.com): "We sent a 6-digit code to ...". Type the six digits (you may paste the whole code into the first box). Tick Trust this device for 30 days if you wish. Press Verify.
  3. If you started with the code and your role needs two-factor, the next page, Enter your password, asks for the password too: "The code is right. Your role signs in with two steps, so your password is needed too." Press Sign in.
  4. Resend code (0:45) becomes active after 45 seconds. Press Back to sign in to start over.
flowchart TD
  a1(["Press Sign in"]) --> d1{"Password typed?"}
  d1 -->|"Empty - codes ON"| sys1[["A code is sent to your email"]]
  d1 -->|"Typed and right"| d2{"Second factor needed and device not trusted?"}
  d2 -->|"No"| ok1[["Session starts"]]
  d2 -->|"Yes"| sys1
  sys1 --> b1["Enter the code page"]
  b1 --> d3{"Code right and not older than 5 minutes?"}
  d3 -->|"No"| e1["That code is wrong - counts like a wrong password"]
  e1 --> d4{"5 wrong tries?"}
  d4 -->|"Yes"| e2["Account locked or the code is dead - sign in again"]
  d4 -->|"No"| b1
  d3 -->|"Yes"| d5{"Started with the code and two-factor needed?"}
  d5 -->|"Yes"| b2["Enter your password page"]
  b2 --> ok1
  d5 -->|"No"| ok1
  ok1 --> h1(["Company home"])

Fields

Field What to enter Rules
Digit 1 to 6 The 6-digit code A code works once, for 5 minutes, with 5 checks; at most 3 codes in 15 minutes and one every 45 seconds
Trust this device for 30 days Tick This browser then skips the code at the next sign-ins; remove it later in My profile
Password (second step) Your password Required for a two-factor person who started with the code

If something goes wrong

Message Fix
"That code is wrong." with "N attempts left ..." Retype. A wrong code counts toward the same lock as a wrong password.
"Too many wrong codes. Please sign in again." The code is dead; sign in again to get a new one.
"That code has expired. Please sign in again." Sign in again.
"Your sign-in timed out. Please sign in again." You waited more than 10 minutes between the steps.
"There is no mobile number or email on this account to send the code to." Ask an administrator to add a contact.

6.4 Log in with Nafath (P-21)

Note - Nafath is OFF by default and the real connection waits for Nafath's documentation. The button and the pages below exist, but they answer "not available" while Nafath is off. On a developer machine a test Nafath can be switched on.

Purpose - Sign in by confirming a number in the Nafath app instead of typing a password. Who - a login that already proved its identity with Nafath (6.9, identity card).

Steps

  1. On Sign in press Log in with Nafath (only drawn while Nafath is on).
  2. Type your National ID or iqama number (10 digits starting with 1 or 2). Press Send request to Nafath.
  3. The page shows Confirm in Nafath with a big number. Open the Nafath app on your phone and pick the same number. The page waits, with a clock (a few minutes).
  4. When you confirm, you are signed in. Cancel stops the request; Try again appears when it ran out or was declined.
flowchart TD
  a1(["Press Log in with Nafath"]) --> b1["Type the national ID or iqama number"]
  b1 --> d1{"10 digits starting with 1 or 2?"}
  d1 -->|"No"| e1["Enter a valid national ID"]
  e1 --> b1
  d1 -->|"Yes"| b2["Press Send request to Nafath"]
  b2 --> b3["Page shows a number and a clock"]
  b3 --> n1[/"You pick the same number in the Nafath app"/]
  n1 --> d2{"Confirmed in time?"}
  d2 -->|"Declined or timed out"| e2["Message and Try again"]
  e2 --> b1
  d2 -->|"Confirmed"| d3{"Account allowed to sign in?"}
  d3 -->|"No - locked, closed, network, hours"| e3["Refused with the reason"]
  d3 -->|"Yes"| ok1[["Signed in - no code and no password"]]
  ok1 --> h1(["Company home"])

Good to know - The pages look the same for every ID, so nobody can learn which IDs have an account. A request works once, in one browser, and runs out after a few minutes. Starting is limited (10 per address per 15 minutes, 5 per ID per hour). An approval counts as a full sign-in, even for an Owner. All the account's other rules (locked, closed, allowed network, login hours) still apply, and are told only after Nafath confirmed.

6.5 Forgot and reset a password (P-23 recovery)

Purpose - Choose a new password when you cannot sign in. Who - anybody. Nobody learns whether an account exists: the answer is the same for every identifier.

Steps, codes OFF (shipped): by email link

  1. On Sign in press Forgot password?. Type your Mobile or email. Press Send reset link.
  2. The page says "If the account exists, we emailed a link to reset the password." Open the email (the link works for 60 minutes).
  3. The page Choose a new password shows your account. Type New password and Confirm password (a strength bar helps). Press Set new password.
  4. You are sent to Sign in with "Your password was changed. Sign in with the new password."

Steps, codes ON: by code

  1. Type your Mobile or email, press Send code. The page moves to step 2 ("Enter the 6-digit code we just sent, then choose a new password").
  2. Type the Reset code, the New password and Confirm password, press Set new password. Resend code and Use a different number are there too.
flowchart TD
  a1(["Press Forgot password"]) --> b1["Type mobile or email"]
  b1 --> d1{"Sign-in codes ON?"}
  d1 -->|"No - shipped"| b2["Press Send reset link"]
  b2 --> sys1[["Neutral answer - an email link goes out if the account can get one"]]
  sys1 --> m1[/"You open the link in your email within 60 minutes"/]
  m1 --> d2{"Link still valid?"}
  d2 -->|"No"| e1["This link is no longer valid - Ask for a new link"]
  e1 --> b1
  d2 -->|"Yes"| b3["Type new password twice"]
  d1 -->|"Yes"| b4["Press Send code, then type code and new password"]
  b4 --> d3{"Code right?"}
  d3 -->|"No"| e2["The code is not right or has expired"]
  e2 --> b4
  d3 -->|"Yes"| b3
  b3 --> sys2[["Password set, lock opened, other sessions ended"]]
  sys2 --> h1(["Sign in with the new password"])

Fields and limits - Mobile or email (up to 190 characters). The password follows the company policy. A request can be made once every 45 seconds and 3 times in 15 minutes per identifier: "Please wait N seconds before asking for another link." / "Too many links were requested. Try again in a few minutes."

What happens next - The password is set, failed-try counters are cleared, an automatic lock is lifted (a lock put on by staff stays), every other session of the person is ended, and one security line is written in the activity log. An account with no real email (an old personal account with a no-email.invalid placeholder) gets the same neutral answer but nothing is sent.

An invitation link (/reset-password/{token}?invite=1) opens the same page as Set your password ("Welcome, NAME. Choose a password to finish setting up your account."). It works for 7 days and once.

6.6 Confirm it is you before a sensitive change (/confirm-password)

Some actions (the permission matrix, roles, the Security policy, switching two-factor off, starting an identity check) need a recent proof of identity: a sign-in or confirmation within 15 minutes. Otherwise you are sent to Confirm it is you and returned to the page you wanted.

flowchart TD
  a1(["Open a sensitive page"]) --> d1{"Confirmed in the last 15 minutes?"}
  d1 -->|"Yes"| ok1(["The page opens"])
  d1 -->|"No"| b1["Confirm it is you page"]
  b1 --> d2{"Needs a code? codes ON and two-factor"}
  d2 -->|"No"| b2["Type your password"]
  d2 -->|"Yes"| b3["Type the 6-digit code"]
  b2 --> d3{"Right?"}
  b3 --> d3
  d3 -->|"No"| e1["Error - try again"]
  e1 --> b1
  d3 -->|"Yes"| sys1[["Clock restarts for 15 minutes"]]
  sys1 --> ok1

6.7 Accept an invitation (/invitations/{token})

Purpose - Join a company that invited you (by mobile or email, with a role). Who - the invited person. The link works for 7 days and once; only its hash is stored.

Steps - Open the link from your message. The page says "You are invited" and "COMPANY invites you to join as ROLE", with the invited contact, who invited you and "Valid until".

flowchart TD
  a1(["Open the invitation link"]) --> d1{"Link valid, unused, under 7 days?"}
  d1 -->|"No"| e1["This invitation cannot be used - ask the company for a new one"]
  d1 -->|"Yes"| d2{"Signed in?"}
  d2 -->|"Yes, the invited person"| b1["Press Join"]
  d2 -->|"Yes, someone else"| e2["Sign out and open the link again"]
  d2 -->|"No"| d3{"Does a login exist for this contact?"}
  d3 -->|"Yes"| b2["Press Sign in to join, then Join"]
  d3 -->|"No"| b3["Fill name, password and the missing contact, press Create my login and join"]
  b1 --> sys1[["Membership added to this company only"]]
  b2 --> sys1
  b3 --> sys1
  sys1 --> h1(["Company dashboard - You joined the company"])

What happens next - A membership with the invited role (and branch, if any) is added to this company only; your other companies are untouched. If your login belongs to several companies, use the company switcher (6.10).

6.8 The suspended-account notice (/account/suspended)

When Traincu suspends or closes your company, or your company pauses your own access, you are signed out and shown a page instead of a plain error. It says what happened and whom to ask.

State Title What you can do
Company suspended "Your company account is suspended" Contact Traincu support; they tell you why and what lifts it
Company closed "This company account is closed" Contact Traincu support if you think it is a mistake
Your access paused "Your access is paused" Ask the owner or an administrator of the company to give your access back

The page lists Traincu's public support phone, WhatsApp, email and hours (from the public-site settings) for the company cases, and the buttons Back to sign in and Go home. No reason for a suspension is stored or shown yet. Opened directly (a bookmark or a reload with nothing to say), the page just sends you to Sign in.

flowchart TD
  a1(["Person signs in or opens a page"]) --> d1{"Any active membership in an active company?"}
  d1 -->|"Yes"| ok1(["Workspace opens"])
  d1 -->|"No"| d2{"What is the reason?"}
  d2 -->|"Company suspended or closed"| n1["Notice with Traincu support details"]
  d2 -->|"Own access paused"| n2["Notice - ask your company owner"]
  d2 -->|"No membership at all"| n3["Signed out with a general message"]
  n1 --> s1(["Back to sign in"])
  n2 --> s1
  n3 --> s1

6.9 My profile (A-04): details, password, two-factor, identity

Purpose - Keep your own account right. Who - every signed-in person, no permission needed. One page, /profile, with one card per form: About you, How the app behaves for you, Security, Identity (Nafath) (only while Nafath is on, or if you already verified), Signed-in devices.

Steps

  1. About you: change Full name, Mobile, Email, and the Photo (JPG, PNG or WebP up to 1 MB; Remove photo puts your initials back). Press Save. A mobile or email already used by another account is refused.
  2. How the app behaves for you: choose Language (applies at once), Home screen (company logins only: Owner dashboard, Operations, Trips), Alert channels (In-app cannot be switched off; tick SMS and Email), and, for the owner, Daily summary at. Press Save preferences. Themes and colours are in Appearance.
  3. Security > Password: press Change, type Current password, New password, Confirm new password, keep Sign out other devices ticked (recommended), press Change password. A person who was forced to change the password sees a yellow notice and cannot go elsewhere until done.
  4. Security > Two-factor: press Turn on (it needs a mobile or email to send codes to) or Turn off (asks to confirm). If your role or an administrator requires it, the button is Locked. While codes are OFF, two-factor is saved but no code is asked.
  5. Identity (Nafath): type the 10-digit National ID or iqama number, press Verify with Nafath, then confirm the number in the Nafath app (the page Confirm in Nafath shows a number and a clock). When approved, the card says Verified with Nafath and shows the ID masked as ••••••1234. An ID already linked to another login is refused. Starting needs a recent confirmation (6.6).
flowchart TD
  a1(["Open My profile"]) --> d1{"Which card?"}
  d1 -->|"About you"| b1["Edit name, mobile, email, photo - Save"]
  d1 -->|"How the app behaves"| b2["Choose language, alerts, home - Save preferences"]
  d1 -->|"Password"| b3["Current and new password - Change password"]
  d1 -->|"Two-factor"| b4["Turn on or off"]
  d1 -->|"Identity"| b5["Type national ID - Verify with Nafath"]
  b1 --> d2{"Contact already used by another account?"}
  d2 -->|"Yes"| e1["Refused with a message"]
  d2 -->|"No"| ok1[["Saved"]]
  b2 --> ok1
  b3 --> d3{"Current password right and new one allowed?"}
  d3 -->|"No"| e2["Fix the fields"]
  d3 -->|"Yes"| sys1[["Password changed, other devices signed out if ticked"]]
  b4 --> d4{"Required by role or administrator?"}
  d4 -->|"Yes"| e3["Locked - cannot change"]
  d4 -->|"No"| ok1
  b5 --> n1[/"Confirm the number in the Nafath app"/]
  n1 --> ok2[["Verified with Nafath"]]

Rules - A personal account sees no Home screen and no Daily summary. An old personal account (made before round 2, with a placeholder email) sees Email and password with an Add button instead of Change: type a real email, a password and its confirmation (no current password is asked).

6.10 Language and company switcher

Language. Press the language button in the top bar (for example EN) and pick a language; on a phone the choice is inside your name menu. The sign-in and registration pages use the link /locale/{code}. Arabic is right-to-left. Your saved language is also on your profile.

Company switcher. If your login belongs to more than one company (or you are an Owner) the top bar shows a button with the company name. Press it to see Your companies with your role and activities in each; press one to work in it (the choice is remembered). Add a company opens the registration wizard (6.1) without the owner step. A company that is suspended or where you are paused is not offered.

flowchart TD
  a1(["Press the company name in the top bar"]) --> b1["See Your companies"]
  b1 --> d1{"Choose"}
  d1 -->|"Another company"| sys1[["You now work inside that company"]]
  d1 -->|"Add a company"| b2["Registration wizard without owner step"]
  b2 --> sys2[["New company made, you are its Owner"]]
  sys1 --> h1(["That company's menu and permissions"])
  sys2 --> h1

6.11 Devices, sessions and sign-in history

flowchart TD
  a1(["Owner opens Sign-in history"]) --> b1["Filter or search the list"]
  b1 --> d1{"Row is an active session of someone else?"}
  d1 -->|"No - own session or ended"| ok1(["Nothing to end"])
  d1 -->|"Yes"| d2{"Which button?"}
  d2 -->|"Force sign-out"| sys1[["That session ends at once"]]
  d2 -->|"Sign out everywhere"| sys2[["All sessions of that person end"]]
  sys1 --> w1[/"The person must sign in again"/]
  sys2 --> w1
  sys1 --> l1[["Security line in the activity log"]]
  sys2 --> l1
sequenceDiagram
  participant Staff as Traincu staff
  participant Plat as Traincu platform
  participant Own as Company Owner
  Staff->>Plat: Start a support session with a reason
  Plat->>Own: Banner, bell and a row in Support access
  Staff->>Plat: Open pages read-only
  Plat->>Own: Every page opened is listed
  Staff->>Plat: Ask for assisted edit
  Plat->>Own: Waiting for your approval
  Own->>Plat: Approve or refuse
  Plat->>Staff: Edit allowed or session ends

6.12 The sign-in codes switch: what changes (honestly)

The platform has one switch, Sign-in codes (OTP), in the admin console (A-35 System settings). It ships OFF. Staff change it with a reason, and one audit line is written. A second, older switch, A code at every sign-in for the roles that ask for one, decides whether the role rule (Owner and Finance) is enforced; it also ships off.

Flow Codes OFF (shipped) Codes ON
Sign in (P-21) Mobile or email + password; the password is required; nobody is asked for a code An empty password sends a code; Owner, Finance and two-factor people also give a code
Code pages /login/verify and /login/password send you back to /login Work as in 6.3
Register a company (P-22) Owner step asks name, mobile, email, password; the company is created at once Owner step, then the code step
Forgot password One step: a reset link by email (60 minutes) Two steps with a 6-digit code
Confirm it is you Always the password A two-factor person gives a code
Personal account (R-01) Name, email, mobile, city, password; made at once Send code first, then Create account
Public forms (contact, enquiries, job application, driver registration) Saved at once, marked not verified; honeypot, throttles and same-origin checks still apply A code step before saving; the row is marked verified
Driver web portal and app Staff code + password Mobile code first, password after
Traincu staff console Password alone A code only when codes are ON and the console code setting is on
flowchart TD
  a1(["Someone signs in, registers or recovers a password"]) --> d1{"Sign-in codes switch is ON?"}
  d1 -->|"No - shipped"| b1["Identity plus password only"]
  d1 -->|"Yes"| d2{"Code channel"}
  d2 -->|"Email - shipped channel"| b2["Code goes to a real email"]
  d2 -->|"SMS - needs a gateway"| b3["Code goes by SMS"]
  b1 --> h1(["Account opens, a reset is a link by email"])
  b2 --> h2(["Code typed, then account opens"])
  b3 --> h2

Note. With codes ON and no SMS gateway, a person with no deliverable email has nowhere to receive a code. Check the channel before switching codes on. The mobile number is not proved by anything while codes are OFF.

7. Screen by screen

P-21 - Log in

Address - /login (route login); the Dev Pack design address is /ar/login. Who - guests. A signed-in person is sent to the dashboard. What you see - The title Sign in with "For companies"; a lead line ("Use the mobile number or email you registered with, and your password." while codes are OFF); a red box for errors with a small second line; the fields Mobile or email and Password (with a show/hide eye); Forgot password?; Keep me signed in; Sign in; the button Log in with Nafath (only while Nafath is on); and New to Traincu? with two cards, Register your company and Register as a driver. Differences from the Dev Pack - The design says "mobile + SMS code by default, password optional". The shipped build is password first and codes are off by default (6.12). Owners and Finance are asked for a code only while both switches are on. What you can do - Sign in; open recovery; open registration; Nafath. See 6.2 to 6.5.

P-22 - Register wizard

Address - /register, then /register/cr, /register/company, /register/owner and (codes ON) /register/verify. Who - visitors; a signed-in person to add a company. What you see - A numbered stepper "Register › Step N of 4": Activity, CR number, Company, Owner. Each step is a page; Back keeps what you typed. A signed-in person sees three steps. Differences from the Dev Pack - The design lists a fifth step, Licence documents (PDF or JPG). It is not in the wizard: you hand in papers after registering, in C-03 (see 06), and the company home shows the step "Hand in your company papers". The registry (Wathq) check fills the legal name only when it is switched on; today you type it. What you can do - See 6.1.

P-23 - OTP and password reset

Address - There is no single /ar/verify page. The code appears in four places: /login/verify ("Enter the code", two-factor), /register/verify ("Enter the code", registration), the second step of /forgot-password ("Reset code" and a new password) and /confirm-password (code mode). The link version of a reset is /reset-password/{token}. Who - the person in the middle of a sign-in, registration or recovery. What you see - Six digit boxes (paste fills them all), Verify, Resend code (0:45), Trust this device for 30 days (sign-in only), Back to sign in. A reset page has Reset code, New password, Confirm password, Set new password. Limits (from the Dev Pack and the code) - 6 digits, valid 5 minutes, 5 checks, one resend per 45 seconds, 3 sends per 15 minutes. In the sign-in, a wrong code counts toward the account lock (5 tries, 15 minutes by default). What you can do - See 6.3, 6.5 and 6.6.

C-15 - Security

Address - In the application "Security" is a small set of pages rather than one screen: Sign-in history /activity-log/sessions (L-04), Support access /settings/support-access (the C-15 page proper), Security policy /settings/security (C-09), and your own My profile > Signed-in devices. Who - Owner (logs.sessions, settings.security). What you see - On Support access: a banner (green "Nobody from Traincu is in your workspace now...", or "Traincu support is in your workspace now" with the staff member, reason, mode and minutes left), then a list with Session, Staff member, Reason, Mode, Started, Ended, Pages, Status; filters Status, Staff member, Mode, Date; a button Login & session history. One session page shows the facts and Pages opened. What you can do - Approve, refuse or end a support session (Owner). The Dev Pack's Turn on 2FA is the two-factor card of your profile; Sign out all is Sign out other devices (profile) and Sign out everywhere (L-04). See 6.9 and 6.11.

Extra pages that have no Dev Pack code

P-24 - Suspended-account notice (/account/suspended, route account.suspended). See 6.8.

Enter your password (/login/password, route login.password). Second step of a code-first sign-in for a two-factor person. See 6.3.

Confirm it is you (/confirm-password, route password.confirm). See 6.6.

Reset your password (/forgot-password, route password.request) and Choose a new password (/reset-password/{token}, route password.reset). See 6.5.

You are invited (/invitations/{token}, route invitations.show). See 6.7. A dead link shows "This invitation cannot be used" (HTTP 410).

My profile (/profile, route profile.edit) and Identity (/profile/identity, route profile.identity.show). See 6.9.

Language switch (/locale/{code}, route locale.switch). A plain link that changes the language of your session and returns you to the page you came from (only to a page on this site).

Sign-in history (/activity-log/sessions, route activity-log.sessions). See 6.11.

Record history drawer (/activity-log/history/{type}/{id}, route activity-log.history). The History button on many records opens a side panel with who changed what and when. It checks the permission of the record's own module, so people who cannot open the whole Activity Log can still read a record's history. (background data)

8. Tips and common questions

  1. Why does Traincu not send me a code? Codes are off on the shipped platform. You sign in with the password. If staff switch codes on, they go to your email until an SMS gateway exists.
  2. I typed a wrong password and it counts down. After 5 wrong tries the account locks for 15 minutes (the company can change both numbers). It opens by itself, or choose Forgot password? to set a new one at once.
  3. Can I use my email instead of my mobile? Yes. The sign-in box is Mobile or email.
  4. Why is two-factor "Locked" on my profile? Your role or an administrator requires it. You cannot turn it off. While codes are OFF it is saved but no code is asked.
  5. I got a reset link but it says it is not valid. Links last 60 minutes (an invitation link, 7 days) and work once. Use Ask for a new link.
  6. My company name appears twice in the switcher. Each company you belong to is listed once. Use Add a company only to create a new one.
  7. I changed my password. Why was I signed out on my phone? Other devices are signed out when you keep Sign out other devices ticked. It protects you if somebody had the old password.
  8. Can I register a driver or a personal customer here? No. Drivers register on the public driver form; a personal customer uses Quick register (guide 04).
  9. I was signed out without doing anything. Sessions end after 30 minutes of inactivity (a company can change it), when an administrator forces a sign-out, or when you sign in on a fourth device (the oldest session ends).
  10. Who can see my national ID? Nobody. It is stored encrypted and shown only as ••••••1234.
  11. Where do I see who from Traincu looked at our workspace? Settings > Support access (Owner).

9. Page reference (for support and testing)

Page Address Route name Who can open (permission / activity) Described in
Suspended-account notice /account/suspended account.suspended Anybody (needs a flashed reason, else goes to sign in) 6.8
Record history drawer (background data) /activity-log/history/{type}/{id} activity-log.history Signed in; the record's own module permission Section 7
Sign-in history /activity-log/sessions activity-log.sessions logs.sessions (Owner) 6.11
Confirm it is you /confirm-password password.confirm Signed in 6.6
Forgot password /forgot-password password.request Guests 6.5
You are invited /invitations/{token} invitations.show Anybody with the link 6.7
Language switch /locale/{code} locale.switch Anybody 6.10
Sign in /login login Guests 6.2
Log in with Nafath /login/nafath login.nafath Guests; only while Nafath is ON 6.4
Enter your password (second step) /login/password login.password Guests with a code step open 6.3
Enter the code (sign-in) /login/verify two-factor.show Guests with a code step open; codes ON 6.3
My profile /profile profile.edit Any signed-in person 6.9
Identity (Nafath) /profile/identity profile.identity.show Any signed-in person; Nafath ON 6.9
Register - step 1 Activity /register register Guests (or a signed-in person adding a company) 6.1
Register - step 3 Company /register/company register.company Same 6.1
Register - step 2 CR number /register/cr register.cr Same 6.1
Register - step 4 Owner /register/owner register.owner Guests 6.1
Register - code step (codes ON) /register/verify register.verify Guests; codes ON 6.1
Choose a new password /reset-password/{token} password.reset Guests with the link 6.5
Support access (C-15) /settings/support-access settings.support-access settings.security (Owner) 6.11
Security policy (C-09) /settings/security settings.security settings.security (Owner) 6.11

Actions (buttons and forms)

Action Route name Permission
Force sign-out of one session activity-log.sessions.end logs.sessions
Sign a person out everywhere activity-log.sessions.end-user logs.sessions
Confirm password or code (POST /confirm-password) /confirm-password Signed in
Send a new confirmation code password.confirm.resend Signed in
Send reset link or code password.email Guests
Set new password with the code password.code Guests
Resend the reset code password.resend Guests
Accept an invitation (signed in) invitations.accept Signed in
Create a login and join invitations.register Guests
Change language (POST) locale.update Anybody
Sign in (POST /login) /login Guests
Start Nafath sign-in login.nafath.start Guests
Cancel Nafath sign-in login.nafath.cancel Guests
Check Nafath answer (background data) login.nafath.check Guests
Give the password after the code (POST /login/password) /login/password Guests
Verify the sign-in code two-factor.verify Guests
Resend the sign-in code two-factor.resend Guests
Save About you profile.update Signed in
Sign out all other devices profile.devices.destroy-others Signed in
Sign out one device profile.devices.destroy Signed in
Start identity check profile.identity.start Signed in
Cancel identity check profile.identity.cancel Signed in
Check identity answer (background data) profile.identity.check Signed in
Remove photo profile.photo.destroy Signed in
Save preferences profile.preferences Signed in
Stop trusting a browser profile.trusted-devices.destroy Signed in
Two-factor on or off profile.two-factor Signed in (recent confirmation)
Register - save step 1 register.store Guests
Register - save step 3 register.company.store Guests
Register - save step 2 register.cr.store Guests
Register - save step 4 register.owner.store Guests
Register - verify the code register.verify.store Guests; codes ON
Register - resend the code register.resend Guests; codes ON
Save the new password from a link password.store Guests
Change password inside the profile password.update Signed in
Sign out logout Signed in
Switch company organizations.switch Signed in