mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-10-31 06:05:43 +00:00 
			
		
		
		
	feat: add Remote-User header
This commit is contained in:
		| @@ -235,6 +235,8 @@ func (api *API) SetupRoutes() { | ||||
| 				return | ||||
| 			} | ||||
|  | ||||
| 			c.Header("Remote-User", userContext.Username) | ||||
|  | ||||
| 			// The user is allowed to access the app | ||||
| 			c.JSON(200, gin.H{ | ||||
| 				"status":  200, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 WilliamB78
					WilliamB78