mirror of
https://github.com/AlistGo/alist.git
synced 2026-01-05 23:29:02 +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. |
||
|---|---|---|
| .. | ||
| archive | ||
| authn | ||
| bootstrap | ||
| conf | ||
| db | ||
| device | ||
| driver | ||
| errs | ||
| fs | ||
| fuse | ||
| message | ||
| model | ||
| net | ||
| offline_download | ||
| op | ||
| search | ||
| session | ||
| setting | ||
| sign | ||
| stream | ||
| task | ||