mirror of
https://github.com/AlistGo/alist.git
synced 2025-12-24 22:50:09 +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. |
||
|---|---|---|
| .. | ||
| auth.go | ||
| check.go | ||
| down.go | ||
| fsup.go | ||
| https.go | ||
| limit.go | ||
| search.go | ||
| session_refresh.go | ||