mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 20:17:03 +01:00
Use github token URL when fetching oauth token (#16709)
Fixes regression from #16544
This commit is contained in:
parent
ea07726dc1
commit
37d0d94843
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ var _ (GothProvider) = &CustomProvider{}
|
||||||
func init() {
|
func init() {
|
||||||
RegisterGothProvider(NewCustomProvider(
|
RegisterGothProvider(NewCustomProvider(
|
||||||
"github", "GitHub", &CustomURLSettings{
|
"github", "GitHub", &CustomURLSettings{
|
||||||
TokenURL: availableAttribute(gitea.TokenURL),
|
TokenURL: availableAttribute(github.TokenURL),
|
||||||
AuthURL: availableAttribute(github.AuthURL),
|
AuthURL: availableAttribute(github.AuthURL),
|
||||||
ProfileURL: availableAttribute(github.ProfileURL),
|
ProfileURL: availableAttribute(github.ProfileURL),
|
||||||
EmailURL: availableAttribute(github.EmailURL),
|
EmailURL: availableAttribute(github.EmailURL),
|
||||||
|
|
Loading…
Reference in a new issue