mirror of
https://github.com/bitwarden/server
synced 2025-12-24 04:03:25 +00:00
[PM-20225] Block no-userkey legacy users (#5640)
* Block legacy users on all clients over 2025.5 * Update message * Fix test * Fix test * Update blocked version
This commit is contained in:
@@ -193,7 +193,7 @@ public abstract class BaseRequestValidator<T> where T : class
|
||||
protected async Task FailAuthForLegacyUserAsync(User user, T context)
|
||||
{
|
||||
await BuildErrorResultAsync(
|
||||
$"Encryption key migration is required. Please log in to the web vault at {_globalSettings.BaseServiceUri.VaultWithHash}",
|
||||
$"Legacy encryption without a userkey is no longer supported. To recover your account, please contact support",
|
||||
false, context, user);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user