mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 00:22:40 +01:00
Forgot to restore this else
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user