Skip to content

User System

Leelaa Reader includes account authentication and role-based permissions to keep data isolated and secure.

Core Features

1. Login

  • Path: /login
  • Purpose: credential verification.
  • Behavior:
    • Username/password sign-in.
    • Token issued after login and attached to following requests.
    • Session persistence with remember-me behavior.

2. Registration and Activation

  • Activation page: opened automatically on first deployment or when license is invalid.
  • Flow:
    1. Access app and get redirected to activation page.
    2. Page shows current machine identifier (Server ID).
    3. Contact support via WeChat for license.
    4. Two activation methods:
      • Method A (send machine code): support activates remotely, then click refresh status.
      • Method B (input activation code): paste purchased code and submit.
  • Contact:
    • WeChat support: Yay_ls (remark: Leelaa activation).

3. Permissions

  • Roles:
    • Admin: full access to source management, users, and logs.
    • User: browse/play/favorites only.
  • Data isolation:
    • Progress, favorites, and history are isolated by account.
    • Source content is shared across users.