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:
@ -189,7 +189,6 @@ public static class FeatureFlagKeys
|
|||||||
public const string PersistPopupView = "persist-popup-view";
|
public const string PersistPopupView = "persist-popup-view";
|
||||||
public const string StorageReseedRefactor = "storage-reseed-refactor";
|
public const string StorageReseedRefactor = "storage-reseed-refactor";
|
||||||
public const string WebPush = "web-push";
|
public const string WebPush = "web-push";
|
||||||
public const string RecordInstallationLastActivityDate = "installation-last-activity-date";
|
|
||||||
public const string IpcChannelFramework = "ipc-channel-framework";
|
public const string IpcChannelFramework = "ipc-channel-framework";
|
||||||
|
|
||||||
/* Tools Team */
|
/* Tools Team */
|
||||||
|
@ -95,10 +95,8 @@ public class CustomTokenRequestValidator : BaseRequestValidator<CustomTokenReque
|
|||||||
context.Result.CustomResponse = new Dictionary<string, object> { { "encrypted_payload", payload } };
|
context.Result.CustomResponse = new Dictionary<string, object> { { "encrypted_payload", payload } };
|
||||||
|
|
||||||
}
|
}
|
||||||
if (FeatureService.IsEnabled(FeatureFlagKeys.RecordInstallationLastActivityDate)
|
if (context.Result.ValidatedRequest.ClientId.StartsWith("installation"))
|
||||||
&& context.Result.ValidatedRequest.ClientId.StartsWith("installation"))
|
|
||||||
{
|
{
|
||||||
var installationIdPart = clientId.Split(".")[1];
|
|
||||||
await RecordActivityForInstallation(clientId.Split(".")[1]);
|
await RecordActivityForInstallation(clientId.Split(".")[1]);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user