Somoru 883ca1ffc8 refactor: migrate multi-user to use existing user_data table
- Update migration to extend user_data table instead of creating new users table
- Refactor user_management service to work with tmpID (INTEGER) primary key
- Update login.ts to support multi-user authentication with user_data
- Fix auth.ts middleware to use new user management API
- Update API routes to handle tmpID-based user identification
- Store userId as number in session for consistency

This integrates with Trilium's existing OAuth user_data table (v229) and
maintains backward compatibility with single-user installations.
2025-10-21 14:33:37 +05:30
..
2025-09-28 19:43:04 +03:00
2025-09-02 18:33:22 +03:00
2025-04-28 09:46:25 +03:00