mirror of
				https://github.com/h44z/wg-portal.git
				synced 2025-11-03 23:56:18 +00:00 
			
		
		
		
	code cleanup
This commit is contained in:
		@@ -12,8 +12,11 @@ import (
 | 
			
		||||
const CtxUserInfo = "userInfo"
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	CtxSystemAdminId = "_WG_SYS_ADMIN_"
 | 
			
		||||
	CtxUnknownUserId = "_WG_SYS_UNKNOWN_"
 | 
			
		||||
	CtxSystemAdminId    = "_WG_SYS_ADMIN_"
 | 
			
		||||
	CtxUnknownUserId    = "_WG_SYS_UNKNOWN_"
 | 
			
		||||
	CtxSystemLdapSyncer = "_WG_SYS_LDAP_SYNCER_"
 | 
			
		||||
	CtxSystemWgImporter = "_WG_SYS_WG_IMPORTER_"
 | 
			
		||||
	CtxSystemV1Migrator = "_WG_SYS_V1_MIGRATOR_"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type ContextUserInfo struct {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user