Forgot to restore this else

This commit is contained in:
Jordan Brown
2020-04-20 15:18:02 -04:00
parent 5c060c4930
commit 4e6e80f8d7
@@ -59,10 +59,12 @@ namespace Tgstation.Server.Host.Security
{
if (identity != null)
identity.Dispose();
var context = userPrincipal.Context;
userPrincipal.Dispose();
context.Dispose();
else
{
var context = userPrincipal.Context;
userPrincipal.Dispose();
context.Dispose();
}
}
/// <inheritdoc />