Update OAuth2ProviderService.ts
This commit is contained in:
		@@ -304,7 +304,7 @@ export class OAuth2ProviderService {
 | 
				
			|||||||
		// 	},
 | 
							// 	},
 | 
				
			||||||
		// });
 | 
							// });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		// XXX: But MemoryKVCache just grows forever without being cleared...
 | 
							// XXX: But MemoryKVCache just grows forever without being cleared if grant codes are left unused
 | 
				
			||||||
		const grantCodeCache = new MemoryKVCache<{
 | 
							const grantCodeCache = new MemoryKVCache<{
 | 
				
			||||||
			clientId: string,
 | 
								clientId: string,
 | 
				
			||||||
			userId: string,
 | 
								userId: string,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user