Skip to content

Commit 4dee08a

Browse files
Fix typo (#12013)
* Fix typo of MSSQL * Fix typo: validates * Fix typo * fix comment with space Co-authored-by: techknowlogick <[email protected]>
1 parent 121103f commit 4dee08a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

models/org.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ func (org *User) getUserTeamIDs(e Engine, userID int64) ([]int64, error) {
717717
Find(&teamIDs)
718718
}
719719

720-
// TeamsWithAccessToRepo returns all teamsthat have given access level to the repository.
720+
// TeamsWithAccessToRepo returns all teams that have given access level to the repository.
721721
func (org *User) TeamsWithAccessToRepo(repoID int64, mode AccessMode) ([]*Team, error) {
722722
return GetTeamsWithAccessToRepo(org.ID, repoID, mode)
723723
}

modules/context/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ func (ctx *APIContext) RequireCSRF() {
169169
}
170170
}
171171

172-
// CheckForOTP validateds OTP
172+
// CheckForOTP validates OTP
173173
func (ctx *APIContext) CheckForOTP() {
174174
otpHeader := ctx.Req.Header.Get("X-Gitea-OTP")
175175
twofa, err := models.GetTwoFactorByUID(ctx.Context.User.ID)

0 commit comments

Comments
 (0)