From 499eaa665bdb893e725892dcf031b55324c105bd Mon Sep 17 00:00:00 2001 From: Russ Magee Date: Sat, 8 Aug 2020 01:54:46 -0700 Subject: [PATCH] Minor doc typo fixes Signed-off-by: Russ Magee --- auth.go | 3 ++- session.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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