#704 unregister auth handlers during unwind.

This commit is contained in:
Chris R 2016-03-07 15:59:34 -08:00
parent 553e036d28
commit a5fcddc0a8
1 changed files with 2 additions and 3 deletions

View File

@ -73,7 +73,7 @@ namespace Microsoft.AspNetCore.Authentication
await _next(context); await _next(context);
} }
} }
catch (Exception) finally
{ {
try try
{ {
@ -81,9 +81,8 @@ namespace Microsoft.AspNetCore.Authentication
} }
catch (Exception) catch (Exception)
{ {
// Don't mask the original exception // Don't mask the original exception, if any
} }
throw;
} }
} }