mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 16:12:49 -05:00
Ps 1904 (#2439)
* Add self host notification launch settings * Exclude current context from push for password updates This is needed to allow the current context to process a key rotation if one is being done. Does not change any other call to `PushLogOut`. * Revert inverted exclude logic This exclude is referring to exempting the requesting client from the notification push.
This commit is contained in:
@ -115,9 +115,9 @@ public class MultiServicePushNotificationService : IPushNotificationService
|
||||
return Task.FromResult(0);
|
||||
}
|
||||
|
||||
public Task PushLogOutAsync(Guid userId)
|
||||
public Task PushLogOutAsync(Guid userId, bool excludeCurrentContext = false)
|
||||
{
|
||||
PushToServices((s) => s.PushLogOutAsync(userId));
|
||||
PushToServices((s) => s.PushLogOutAsync(userId, excludeCurrentContext));
|
||||
return Task.FromResult(0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user