diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-03-18 15:57:21 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-03-18 15:57:21 -0700 |
commit | c662e4fb5bb7d054eeb96f89ae43b2d00a6f4834 (patch) | |
tree | 72e71bbe1e630b5c38a45361aee26fd8531e9f1b | |
parent | a297ec62db4f6dfaab4cdbd1d886ca275b017011 (diff) | |
download | DotNetOpenAuth-origin/v0.1.zip DotNetOpenAuth-origin/v0.1.tar.gz DotNetOpenAuth-origin/v0.1.tar.bz2 |
Fixed bug in establishing associations with cleartext secrets.origin/v0.1
-rw-r--r-- | source/Janrain.OpenId/Consumer/GenericConsumer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Janrain.OpenId/Consumer/GenericConsumer.cs b/source/Janrain.OpenId/Consumer/GenericConsumer.cs index 006d0c3..3338be4 100644 --- a/source/Janrain.OpenId/Consumer/GenericConsumer.cs +++ b/source/Janrain.OpenId/Consumer/GenericConsumer.cs @@ -297,7 +297,7 @@ namespace Janrain.OpenId.Consumer string session_type = (string)results[QueryStringArgs.openidnp.session_type];
- if (session_type == null)
+ if (string.IsNullOrEmpty(session_type) || session_type == "plaintext")
secret = getDecoded(QueryStringArgs.mac_key);
else if (session_type == QueryStringArgs.DH_SHA1)
{
|