mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
				synced 2025-10-31 02:37:56 +00:00 
			
		
		
		
	Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
This commit is contained in:
		| @@ -48,7 +48,7 @@ namespace OpenWifi { | ||||
|  | ||||
|     bool ApiKeyDB::RemoveAllApiKeys(const std::string & user_uuid) { | ||||
|         SecurityObjects::ApiKeyEntryList    Keys; | ||||
|         if(StorageService()->ApiKeyDB().GetRecords(0,500,Keys.apiKeys,fmt::format(" userUuid='{} ", user_uuid))) { | ||||
|         if(StorageService()->ApiKeyDB().GetRecords(0,500,Keys.apiKeys,fmt::format(" userUuid='{}' ", user_uuid))) { | ||||
|             for(const auto &key:Keys.apiKeys) { | ||||
|                 AuthService()->RemoveTokenSystemWide(key.apiKey); | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 stephb9959
					stephb9959