Minor fixes
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user