support Nextcloud OAuth 2.0 authentication

This commit is contained in:
MaysWind
2025-10-21 01:52:28 +08:00
parent 600ae2bd58
commit 53a8ad71c6
74 changed files with 2046 additions and 241 deletions
+4
View File
@@ -26,5 +26,9 @@ func (c *ConfigContainer) GetCurrentConfig() *Config {
}
func GetUserAgent() string {
if Version == "" {
return "ezBookkeeping"
}
return fmt.Sprintf("ezBookkeeping/%s", Version)
}