alist/internal/bootstrap/data
okatu-loli 2d5b8a9a61 feat(auth): Improved device session management logic
- Replaced the `userID` parameter with the `user` object to support operations with more user attributes.
- Introduced `SessionTTL` and `MaxDevices` properties in the `Handle` and `EnsureActiveOnLogin` functions to support user-defined settings.
- Adjusted the session creation and verification logic in `session.go` to support user-defined device count and session duration.
- Added help documentation in `setting.go` to explain the configuration purposes of `MaxDevices` and `DeviceSessionTTL`.
- Added optional `MaxDevices` and `SessionTTL` properties to the user entity in `user.go` and persisted these settings across user updates.
- Modified the device handling logic in `webdav.go` to adapt to the new user object parameters.
2025-09-09 21:45:46 +08:00
..
data.go feat: enhance permission control and label management (#9215) 2025-07-26 09:51:59 +08:00
dev.go feat: enhance permission control and label management (#9215) 2025-07-26 09:51:59 +08:00
role.go feat: enhance permission control and label management (#9215) 2025-07-26 09:51:59 +08:00
setting.go feat(auth): Improved device session management logic 2025-09-09 21:45:46 +08:00
task.go feat: persistant Task (#6925 close #5313) 2024-08-07 12:16:21 +08:00
user.go feat: enhance permission control and label management (#9215) 2025-07-26 09:51:59 +08:00