pass redirect URL to Gitea

This commit is contained in:
techknowlogick 2019-03-08 14:35:41 -05:00 committed by GitHub
parent 33044a1f38
commit e4f5498850
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,6 +99,7 @@ func provideGiteaLogin(config config.Config) login.Middleware {
Server: config.Gitea.Server,
Client: defaultClient(config.Gitea.SkipVerify),
Logger: logrus.StandardLogger(),
RedirectURL: config.Server.Addr + "/login",
}
}
return &gogs.Config{