mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 22:42:24 -05:00 
			
		
		
		
	only use the unique part of challenge string in logs
This commit is contained in:
		
					parent
					
						
							
								04c6016cf1
							
						
					
				
			
			
				commit
				
					
						711aaada87
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -154,7 +154,7 @@ func (m *nollamas) Serve(c *gin.Context) { | ||||||
| 
 | 
 | ||||||
| 	// Prepare new log entry with challenge. | 	// Prepare new log entry with challenge. | ||||||
| 	l := log.WithContext(c.Request.Context()) | 	l := log.WithContext(c.Request.Context()) | ||||||
| 	l = l.WithField("challenge", challenge) | 	l = l.WithField("challenge", challenge[:len(challenge)/4]) | ||||||
| 
 | 
 | ||||||
| 	// Check query to see if an in-progress | 	// Check query to see if an in-progress | ||||||
| 	// challenge solution has been provided. | 	// challenge solution has been provided. | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue