mirror of
				https://gogs.blitter.com/RLabs/xs
				synced 2024-08-14 10:26:42 +00:00 
			
		
		
		
	Minor doc typo fixes
Signed-off-by: Russ Magee <rmagee@gmail.com>
This commit is contained in:
		
							parent
							
								
									cb92b247d7
								
							
						
					
					
						commit
						f231bbadcf
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		
							
								
								
									
										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…
	
	Add table
		Add a link
		
	
		Reference in a new issue