mirror of
https://github.com/go-gitea/gitea
synced 2025-07-13 14:07:20 +00:00
Improve oauth2 error handling (#33969)
Show the callback error to end users, it should be safe. Fix #33967
This commit is contained in:
@ -19,7 +19,7 @@ import (
|
||||
"code.gitea.io/gitea/modules/json"
|
||||
"code.gitea.io/gitea/modules/setting"
|
||||
api "code.gitea.io/gitea/modules/structs"
|
||||
oauth2_provider "code.gitea.io/gitea/services/oauth2_provider"
|
||||
"code.gitea.io/gitea/services/oauth2_provider"
|
||||
"code.gitea.io/gitea/tests"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
Reference in New Issue
Block a user