fix some typos
This commit is contained in:
parent
3883ee9614
commit
4d47ac1861
3 changed files with 3 additions and 3 deletions
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue