From 76fd055d8e6c64440044d1bd7a9b342c7627ec94 Mon Sep 17 00:00:00 2001 From: Chris R Date: Tue, 8 Sep 2015 14:14:39 -0700 Subject: [PATCH] Remove redundant body rewind. --- .../OpenIdConnectAuthenticationHandler.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Microsoft.AspNet.Authentication.OpenIdConnect/OpenIdConnectAuthenticationHandler.cs b/src/Microsoft.AspNet.Authentication.OpenIdConnect/OpenIdConnectAuthenticationHandler.cs index 8ef64f6046..ae56928640 100644 --- a/src/Microsoft.AspNet.Authentication.OpenIdConnect/OpenIdConnectAuthenticationHandler.cs +++ b/src/Microsoft.AspNet.Authentication.OpenIdConnect/OpenIdConnectAuthenticationHandler.cs @@ -344,7 +344,6 @@ namespace Microsoft.AspNet.Authentication.OpenIdConnect && Request.Body.CanRead) { var form = await Request.ReadFormAsync(); - Request.Body.Seek(0, SeekOrigin.Begin); message = new OpenIdConnectMessage(form.Select(pair => new KeyValuePair(pair.Key, pair.Value))); }