diff options
Diffstat (limited to 'modules/context/api.go')
-rw-r--r-- | modules/context/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/context/api.go b/modules/context/api.go index acecf8f264..fdc000e4a5 100644 --- a/modules/context/api.go +++ b/modules/context/api.go @@ -169,7 +169,7 @@ func (ctx *APIContext) RequireCSRF() { } } -// CheckForOTP validateds OTP +// CheckForOTP validates OTP func (ctx *APIContext) CheckForOTP() { otpHeader := ctx.Req.Header.Get("X-Gitea-OTP") twofa, err := models.GetTwoFactorByUID(ctx.Context.User.ID) |