summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-05-29 21:39:55 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-05-29 21:39:55 -0700
commitd22f4780cbcb164180a6e12d7b6a8dd769f09f18 (patch)
treef7fc02af64979114ecffc1691e594250277daeb4
parent10453bf06b5ca46dbef2ecff0af008c18eb88399 (diff)
downloadDotNetOpenAuth-d22f4780cbcb164180a6e12d7b6a8dd769f09f18.zip
DotNetOpenAuth-d22f4780cbcb164180a6e12d7b6a8dd769f09f18.tar.gz
DotNetOpenAuth-d22f4780cbcb164180a6e12d7b6a8dd769f09f18.tar.bz2
Fixed bug where ProviderEndpoint.SendResponse would not clear the pending auth request.
-rw-r--r--src/DotNetOpenAuth/OpenId/Provider/ProviderEndpoint.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth/OpenId/Provider/ProviderEndpoint.cs b/src/DotNetOpenAuth/OpenId/Provider/ProviderEndpoint.cs
index 91f10e6..49d18e0 100644
--- a/src/DotNetOpenAuth/OpenId/Provider/ProviderEndpoint.cs
+++ b/src/DotNetOpenAuth/OpenId/Provider/ProviderEndpoint.cs
@@ -134,8 +134,9 @@ namespace DotNetOpenAuth.OpenId.Provider {
/// Sends the response for the <see cref="PendingAuthenticationRequest"/> and clears the property.
/// </summary>
public static void SendResponse() {
- Provider.SendResponse(PendingRequest);
+ var pendingRequest = PendingRequest;
PendingRequest = null;
+ Provider.SendResponse(pendingRequest);
}
/// <summary>