mirror of
https://github.com/AlistGo/alist.git
synced 2025-12-24 14:40:10 +08:00
- 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. |
||
|---|---|---|
| .. | ||
| data | ||
| patch | ||
| config.go | ||
| db.go | ||
| index.go | ||
| log.go | ||
| offline_download.go | ||
| patch.go | ||
| storage.go | ||
| stream_limit.go | ||
| task.go | ||