Accounts
Retro PC has two kinds of account, matching its two layers.
| Retro PC account | Messenger account | |
|---|---|---|
| Used to | Log on to a machine at the Welcome screen | Sign in to Retro Messenger and Retro Mail |
| Identified by | A user name, unique on its machine | An address, unique everywhere |
| Lives on | One machine | The network |
| Made by | An administrator’s invitation | A logged-on Retro PC user, inside Messenger |
| Table | windows_accounts |
users |
How they connect
Section titled “How they connect”- A person logs on to a machine with their Retro PC account. This makes a session: the desktop, their files and their settings.
- Inside that session they sign in to Messenger with a Messenger account. The session now carries both.
- A Retro PC account can remember one Messenger account, so Messenger signs in by itself next time. It can make as many Messenger accounts as it likes.
Logging off the desktop signs Messenger out. Signing out of Messenger leaves the desktop logged on.
Account types
Section titled “Account types”A Retro PC account is admin or limited. Administrators manage User Accounts: they invite
people, change types and send reset links. The server never lets a machine lose its last
administrator.
Sessions
Section titled “Sessions”- A session is a random token in an
httpOnlycookie, stored in Redis. Onlyretro-corewrites sessions; the Node server reads them. - Several devices can be logged on at once. Messenger is online on one of them: starting it on another device signs it out on the first, like the original client.
- A browser shows one desktop at a time, across all its tabs.
- When a session ends elsewhere (a password change, a device logged off), the desktop locks in place instead of closing, so unsaved work survives.
Security has the password, two-step and passkey rules.