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. |
||
|---|---|---|
| .. | ||
| archive.go | ||
| args.go | ||
| file.go | ||
| label_file_binding.go | ||
| label.go | ||
| meta.go | ||
| obj_file.go | ||
| obj.go | ||
| object.go | ||
| paths.go | ||
| req.go | ||
| role.go | ||
| roles.go | ||
| search.go | ||
| session.go | ||
| setting.go | ||
| sshkey.go | ||
| storage.go | ||
| task.go | ||
| user.go | ||