1
0
Fork 0
forked from forgejo/forgejo

fix drone build bug (#7192)

This commit is contained in:
Cherrg 2019-06-13 06:23:45 +02:00 committed by techknowlogick
parent 8f0182c322
commit 2f39fc7bb6
3 changed files with 4 additions and 1 deletions

View file

@ -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
}