Account

Log Out of Posnic and End Your Till Session Safely

Logout is the deliberate end of the signed-in browser or desktop session. It clears the active account and till context and requires the account password for the next sign-in.

Menu path
Top-right user menu -> Logout
Verified from
Posnic demo and current POS source reviewed on 2026-09-08
Technical source evidence

frontend/layouts/header.html Logout menu action, frontend/static/script/js/modules/js/dashboard.js logout confirmation and session-filter warning, frontend/static/script/js/modules/js/users.js logoutCheck local till-context cleanup and login redirect, api/src/routes/users.routes.js GET and POST users/logOut, api/src/controllers/users.controller.js logOut session closure, Express session destruction and JWT-cookie clearing, demo.posnic.io confirmation dialog verified on 2026-09-08

Choose LogoutLogout is the final action in the signed-in user's top-right menu. Posnic asks for confirmation before ending the session.

Before You Log Out

  • Save or cancel any open sale, purchase, stock adjustment or settings form.
  • Finish receipt printing and digital receipt sending before leaving the completed-sale screen.
  • Close or count the cash register first when shop policy requires a formal end-of-shift close; logout does not replace register close.
  • Confirm no customer information or receipt is left visible on a shared counter.
  • Make sure you know the account password because the lock-screen PIN is intentionally forgotten after deliberate logout.

Log Out

  1. Select your name and avatar at the top right of Posnic.
  2. Select Logout.
  3. Read the confirmation message.
  4. Select No when you still have unfinished work; the current session remains open.
  5. Select Yes only when you are ready to end the session.
  6. Wait for the login page and the message that you have been logged out.
  7. On a shared till, do not walk away until the login page is visible.

Session Filter Warning

Users with Sales -> Session Filter permission receive an extra warning: logging out deactivates that login session, and its old session-scoped details are not available after the next login. Finish any session-only review before selecting Yes.

  • This warning appears only when the signed-in user has session_filter access.
  • It describes the user's restricted view, not deletion of sales from the shop.
  • Managers with broader access can still use authorized reports according to their permissions.
  • Do not keep a shared account logged in merely to preserve a cashier's session-filter view; finish the review and log out securely.

What Logout Clears

ContextWhat Posnic doesOperator impact
Server sessionMarks the active user session inactive and destroys the Express session.Protected screens require a new login.
Authentication cookieClears the JWT cookie used to restore the signed-in session.Reloading the dashboard should not reopen the old session.
Desktop tokenRemoves the locally stored JWT token when Posnic is running in Electron.The desktop till also returns to password sign-in.
Branch and till contextClears cached branch, printing, customer, timezone, currency and navigation values.The next user receives their own permitted branch context after login.
Lock-screen PINForgets the remembered PIN for the logged-out username.A PIN cannot reopen a deliberately ended session; use the password.
Business recordsDoes not delete saved sales, purchases, customers, items or reports.Saved records remain available to authorized users.

Logout Is Not Register Close

Logout protects the user account; register close reconciles money. A cashier ending a shift may need to do both in the order defined by the shop.

ActionPurposeTypical result
Lock ScreenTemporarily protect an active desktop till.The same session resumes with the configured PIN.
Close RegisterCount tender and finish the cash-register session.Expected, counted and difference values are recorded.
LogoutEnd the signed-in account session on this browser or desktop app.Posnic returns to password login and clears local till context.

Troubleshoot Logout

SymptomCheckAction
Logout confirmation does not appearWhether the account menu is fully open and another drawer covers it.Close the drawer, reopen the user menu and select Logout once.
Dashboard remains after YesNetwork connection and whether the logout request completed.Wait briefly, then reload; if protected data still opens, report the session issue to an administrator.
PIN no longer unlocks the tillWhether Logout was used instead of Lock Screen.Sign in with the account password; logout intentionally removes the remembered PIN.
Previous session-filter details are missingWhether the user has Session Filter permission and logged in again.This is expected for session-scoped access; ask an authorized manager to review broader reports.
Register is still openWhether the drawer was formally closed before logout.Follow the register close procedure; ending the account session does not reconcile the drawer.