diff options
Diffstat (limited to 'models/gpg_key.go')
-rw-r--r-- | models/gpg_key.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/gpg_key.go b/models/gpg_key.go index 9530eacb0a..140a71df6d 100644 --- a/models/gpg_key.go +++ b/models/gpg_key.go @@ -622,7 +622,7 @@ func ParseCommitWithSignature(c *git.Commit) *CommitVerification { var err error // Find Committer account committer, err = GetUserByEmail(c.Committer.Email) // This finds the user by primary email or activated email so commit will not be valid if email is not - if err != nil { // Skipping not user for commiter + if err != nil { // Skipping not user for committer committer = &User{ Name: c.Committer.Name, Email: c.Committer.Email, @@ -698,7 +698,7 @@ func ParseCommitWithSignature(c *git.Commit) *CommitVerification { } for _, k := range keys { - // Pre-check (& optimization) that emails attached to key can be attached to the commiter email and can validate + // Pre-check (& optimization) that emails attached to key can be attached to the committer email and can validate canValidate := false email := "" for _, e := range k.Emails { |