diff --git a/auth.go b/auth.go index 2289f01..5b2df2d 100644 --- a/auth.go +++ b/auth.go @@ -38,7 +38,8 @@ func NewAuthCtx( /*reader func(string) ([]byte, error), userlookup func(string) } // --------- System passwd/shadow auth routine(s) -------------- -// Verify a password against system standard shadow file + +// VerifyPass verifies a password against system standard shadow file // Note auxilliary fields for expiry policy are *not* inspected. func VerifyPass(ctx *AuthCtx, user, password string) (bool, error) { if ctx.reader == nil { diff --git a/session.go b/session.go index 49fbc57..83d06fd 100644 --- a/session.go +++ b/session.go @@ -96,7 +96,7 @@ func (h Session) AuthCookie(reallyShow bool) []byte { return []byte("**REDACTED**") } -// SetAuthCookie stores the authcookie (essential the password) used to +// SetAuthCookie stores the authcookie (essentially the password) used to // authenticate the Session. func (h *Session) SetAuthCookie(a []byte) { h.authCookie = a