mirror of https://gogs.blitter.com/RLabs/xs
Minor doc typo fixes
Signed-off-by: Russ Magee <rmagee@gmail.com>
This commit is contained in:
parent
eb373ff37b
commit
499eaa665b
3
auth.go
3
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 {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue