stephb9959
2022-11-30 11:52:44 -08:00
parent 6527b45f2f
commit 766a608e1b
2 changed files with 2 additions and 2 deletions

2
build
View File

@@ -1 +1 @@
36
37

View File

@@ -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);
}