1
0
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:
Kyle Spearrin
2016-10-29 02:59:17 -04:00
parent 8eb545a37c
commit 6f636603fb
3 changed files with 19 additions and 2 deletions

View File

@ -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);
}
}
}
}