aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/oauth2.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/oauth2.go')
-rw-r--r--ui/oauth2.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/oauth2.go b/ui/oauth2.go
index c5d594f..256137d 100644
--- a/ui/oauth2.go
+++ b/ui/oauth2.go
@@ -9,10 +9,10 @@ import (
"miniflux.app/oauth2"
)
-func getOAuth2Manager(cfg *config.Config) *oauth2.Manager {
+func getOAuth2Manager() *oauth2.Manager {
return oauth2.NewManager(
- cfg.OAuth2ClientID(),
- cfg.OAuth2ClientSecret(),
- cfg.OAuth2RedirectURL(),
+ config.Opts.OAuth2ClientID(),
+ config.Opts.OAuth2ClientSecret(),
+ config.Opts.OAuth2RedirectURL(),
)
}