diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-08-25 16:39:02 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-08-25 16:39:02 -0700 |
commit | eec666a9918cb449dbe438c64aed393cb4c73136 (patch) | |
tree | e7cb8634462898b8e3e70276b6df86221dd25446 | |
parent | d8224918add775dabc20178b49637a773d2998cc (diff) | |
download | DotNetOpenAuth-eec666a9918cb449dbe438c64aed393cb4c73136.zip DotNetOpenAuth-eec666a9918cb449dbe438c64aed393cb4c73136.tar.gz DotNetOpenAuth-eec666a9918cb449dbe438c64aed393cb4c73136.tar.bz2 |
Fixed bug where the OpenIdAjaxTextBox wasn't firing login events reliably.
-rw-r--r-- | src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingPartyAjaxControlBase.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingPartyAjaxControlBase.cs b/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingPartyAjaxControlBase.cs index 854eba7..d003a27 100644 --- a/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingPartyAjaxControlBase.cs +++ b/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingPartyAjaxControlBase.cs @@ -300,7 +300,7 @@ namespace DotNetOpenAuth.OpenId.RelyingParty { // but our AJAX controls hide an old OpenID message in a postback payload, // so we deserialize it and process it when appropriate. if (this.Page.IsPostBack) { - if (!this.AuthenticationProcessedAlready && this.AuthenticationResponse != null) { + if (this.AuthenticationResponse != null && !this.AuthenticationProcessedAlready) { // Only process messages targeted at this control. // Note that Stateless mode causes no receiver to be indicated. string receiver = this.AuthenticationResponse.GetCallbackArgument(ReturnToReceivingControlId); |