mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 16:44:26 +00:00
Use github token URL when fetching oauth token (#16709)
Fixes regression from #16544
This commit is contained in:
parent
ea07726dc1
commit
37d0d94843
@ -55,7 +55,7 @@ var _ (GothProvider) = &CustomProvider{}
|
||||
func init() {
|
||||
RegisterGothProvider(NewCustomProvider(
|
||||
"github", "GitHub", &CustomURLSettings{
|
||||
TokenURL: availableAttribute(gitea.TokenURL),
|
||||
TokenURL: availableAttribute(github.TokenURL),
|
||||
AuthURL: availableAttribute(github.AuthURL),
|
||||
ProfileURL: availableAttribute(github.ProfileURL),
|
||||
EmailURL: availableAttribute(github.EmailURL),
|
||||
|
Loading…
Reference in New Issue
Block a user