diff --git a/handler/api/acl/repo.go b/handler/api/acl/repo.go index 2f614d4f..1faa14c0 100644 --- a/handler/api/acl/repo.go +++ b/handler/api/acl/repo.go @@ -125,7 +125,7 @@ func InjectRepository( if err != nil { log.WithError(err).Debugln("api: cannot cache repository permissions") } else { - log.Debugln("api: repository permissions synchrnoized") + log.Debugln("api: repository permissions synchronized") } } diff --git a/handler/api/auth/auth.go b/handler/api/auth/auth.go index e002c160..68d25d1f 100644 --- a/handler/api/auth/auth.go +++ b/handler/api/auth/auth.go @@ -22,7 +22,7 @@ import ( "github.com/drone/drone/logger" ) -// HandleAuthentication returns an http.HandlerFunc middlewrae that authenticates +// HandleAuthentication returns an http.HandlerFunc middleware that authenticates // the http.Request and errors if the account cannot be authenticated. func HandleAuthentication(session core.Session) func(http.Handler) http.Handler { return func(next http.Handler) http.Handler { diff --git a/handler/web/login.go b/handler/web/login.go index 59c15fad..e4f885ce 100644 --- a/handler/web/login.go +++ b/handler/web/login.go @@ -141,7 +141,7 @@ func HandleLogin( user.Expiry = tok.Expires.Unix() } - // If the user account has never been synchrnoized we + // If the user account has never been synchronized we // execute the synchonrization logic. if time.Unix(user.Synced, 0).Add(syncPeriod).Before(time.Now()) { user.Syncing = true