1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-17 15:40:59 -05:00

chore(feature flag): [PM-18562] Remove installation-last-activity-date from server

* Removed flag.

* Changed to remove variable.
This commit is contained in:
Todd Martin
2025-07-07 17:38:52 -04:00
committed by GitHub
parent af75fdbe36
commit ead29eed7a
2 changed files with 1 additions and 4 deletions

View File

@ -189,7 +189,6 @@ public static class FeatureFlagKeys
public const string PersistPopupView = "persist-popup-view";
public const string StorageReseedRefactor = "storage-reseed-refactor";
public const string WebPush = "web-push";
public const string RecordInstallationLastActivityDate = "installation-last-activity-date";
public const string IpcChannelFramework = "ipc-channel-framework";
/* Tools Team */

View File

@ -95,10 +95,8 @@ public class CustomTokenRequestValidator : BaseRequestValidator<CustomTokenReque
context.Result.CustomResponse = new Dictionary<string, object> { { "encrypted_payload", payload } };
}
if (FeatureService.IsEnabled(FeatureFlagKeys.RecordInstallationLastActivityDate)
&& context.Result.ValidatedRequest.ClientId.StartsWith("installation"))
if (context.Result.ValidatedRequest.ClientId.StartsWith("installation"))
{
var installationIdPart = clientId.Split(".")[1];
await RecordActivityForInstallation(clientId.Split(".")[1]);
}
return;