mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 16:42:50 -05:00
recompile user delete sproc and extend timeout. filer out security stamp errors from logger.
This commit is contained in:
@ -43,7 +43,14 @@ namespace Bit.Core.Repositories.SqlServer
|
||||
|
||||
public override async Task DeleteAsync(User user)
|
||||
{
|
||||
await base.DeleteAsync(user);
|
||||
using(var connection = new SqlConnection(ConnectionString))
|
||||
{
|
||||
await connection.ExecuteAsync(
|
||||
$"[{Schema}].[{Table}_DeleteById]",
|
||||
new { Id = user.Id },
|
||||
commandType: CommandType.StoredProcedure,
|
||||
commandTimeout: 60);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user