summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorCherrg <michael@gnehr.de>2019-06-13 06:23:45 +0200
committertechknowlogick <hello@techknowlogick.com>2019-06-13 00:23:45 -0400
commit2f39fc7bb6a17b4637b723026a2e18dafd1a0adb (patch)
treea4611e73db3aebb171359e1c2255202af1788611 /routers
parent8f0182c3229dfbb8d731557e5006e39bd616b4e9 (diff)
downloadgitea-2f39fc7bb6a17b4637b723026a2e18dafd1a0adb.tar.gz
gitea-2f39fc7bb6a17b4637b723026a2e18dafd1a0adb.zip
fix drone build bug (#7192)
Diffstat (limited to 'routers')
-rw-r--r--routers/user/oauth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/oauth.go b/routers/user/oauth.go
index aaad26201b..924bac8ef6 100644
--- a/routers/user/oauth.go
+++ b/routers/user/oauth.go
@@ -169,7 +169,7 @@ func AuthorizeOAuth(ctx *context.Context, form auth.AuthorizationForm) {
for _, e := range errs {
errstring += e.Error() + "\n"
}
- ctx.ServerError("AuthorizeOAuth: Validate: ", fmt.Errorf("errors occured during validation: %s", errstring))
+ ctx.ServerError("AuthorizeOAuth: Validate: ", fmt.Errorf("errors occurred during validation: %s", errstring))
return
}