diff options
Diffstat (limited to 'modules/auth/oauth2/oauth2.go')
-rw-r--r-- | modules/auth/oauth2/oauth2.go | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/modules/auth/oauth2/oauth2.go b/modules/auth/oauth2/oauth2.go index bf486d5a0b..ca4cde73b6 100644 --- a/modules/auth/oauth2/oauth2.go +++ b/modules/auth/oauth2/oauth2.go @@ -5,16 +5,18 @@ package oauth2 import ( - "code.gitea.io/gitea/modules/setting" + "net/http" + "os" + "path/filepath" + "code.gitea.io/gitea/modules/log" + "code.gitea.io/gitea/modules/setting" + "github.com/gorilla/sessions" "github.com/markbates/goth" "github.com/markbates/goth/gothic" - "net/http" - "os" - "github.com/satori/go.uuid" - "path/filepath" "github.com/markbates/goth/providers/github" + "github.com/satori/go.uuid" ) var ( |