mirror of
				https://github.com/optim-enterprises-bv/databunker.git
				synced 2025-11-03 19:37:48 +00:00 
			
		
		
		
	code optimization
This commit is contained in:
		@@ -114,8 +114,7 @@ func (e mainEnv) getUserRequest(w http.ResponseWriter, r *http.Request, ps httpr
 | 
			
		||||
	if len(userTOKEN) != 0 {
 | 
			
		||||
		event.Record = userTOKEN
 | 
			
		||||
	}
 | 
			
		||||
	authResult := e.enforceAuth(w, r, event)
 | 
			
		||||
	if authResult == "" {
 | 
			
		||||
	if e.enforceAdmin(w, r) == "" {
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
	change := getStringValue(requestInfo["change"])
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user