mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 09:52:26 -05:00 
			
		
		
		
	add further code comment explaining
This commit is contained in:
		
					parent
					
						
							
								f9da51e6c5
							
						
					
				
			
			
				commit
				
					
						45aa5f5a26
					
				
			
		
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -157,6 +157,9 @@ func (m *nollamas) Serve(c *gin.Context) { | ||||||
| 	nonce, _ := c.GetQuery("nollamas_solution") | 	nonce, _ := c.GetQuery("nollamas_solution") | ||||||
| 	if nonce == "" || len(nonce) > 20 { | 	if nonce == "" || len(nonce) > 20 { | ||||||
| 
 | 
 | ||||||
|  | 		// noting that here, 20 is | ||||||
|  | 		// max integer string len. | ||||||
|  | 		// | ||||||
| 		// An invalid solution string, just | 		// An invalid solution string, just | ||||||
| 		// present them with new challenge. | 		// present them with new challenge. | ||||||
| 		l.Info("posing new challenge") | 		l.Info("posing new challenge") | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue