Minor doc typo fixes

Signed-off-by: Russ Magee <rmagee@gmail.com>
This commit is contained in:
Russ Magee 2020-08-08 01:54:46 -07:00
parent eb373ff37b
commit 499eaa665b
2 changed files with 3 additions and 2 deletions

View file

@ -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 {

View file

@ -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