refactor(server/utils): update server-side constants
define array of sensitive user model fields to exclude when querying and returning
This commit is contained in:
		
							parent
							
								
									0d6acdf174
								
							
						
					
					
						commit
						a88f418901
					
				| @ -142,3 +142,4 @@ export const rc: RuntimeConfig & any = { | |||||||
| 	}, | 	}, | ||||||
| 	app: {}, | 	app: {}, | ||||||
| }; | }; | ||||||
|  | export const doNotSelect = ["password", "auth", "ipLog"].map((b) => `-${b}`).join(" "); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user