Minor fixes

This commit is contained in:
2025-09-15 20:22:37 +03:30
parent 001e3b66cb
commit a84156f0a0
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ func InitGiteaOauth2Token() {
}
func (g *GiteaOAuth2Handler) GetGiteaLoginURL (redirectHost string) (string) {
authUrl := g.InstanceUrl + "/login/oauth/authorize?client_id=" + g.ClientID + "&redirect_uri=" + redirectHost + "/oath/gitea&scope=openid&response_type=code&response_mode=form_post"
authUrl := g.InstanceUrl + "/login/oauth/authorize?client_id=" + g.ClientID + "&redirect_uri=" + redirectHost + "/admin/oauth/gitea&scope=openid&response_type=code&response_mode=form_post"
return authUrl
}