summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/Janrain.OpenId/Consumer/GenericConsumer.cs2
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)
{