support Nextcloud OAuth 2.0 authentication
This commit is contained in:
@@ -26,5 +26,9 @@ func (c *ConfigContainer) GetCurrentConfig() *Config {
|
||||
}
|
||||
|
||||
func GetUserAgent() string {
|
||||
if Version == "" {
|
||||
return "ezBookkeeping"
|
||||
}
|
||||
|
||||
return fmt.Sprintf("ezBookkeeping/%s", Version)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user