summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-03-02 18:29:49 +0000
committerAndrew <andrewarnott@gmail.com>2008-03-02 18:29:49 +0000
commit88edde78c683569f3e10818ebf102b8723da9930 (patch)
treeb38f1f8f4aebde1d704d0203d876e50283e36330
parent2b6415eb746a85be0e06bba623224b7960da09b5 (diff)
downloadDotNetOpenAuth-88edde78c683569f3e10818ebf102b8723da9930.zip
DotNetOpenAuth-88edde78c683569f3e10818ebf102b8723da9930.tar.gz
DotNetOpenAuth-88edde78c683569f3e10818ebf102b8723da9930.tar.bz2
Fixes issue 43 where immediate mode auth always fails with our provider.
git-svn-id: https://dotnetopenid.googlecode.com/svn/branches/0.1@264 01efa1a6-402a-0410-b0ae-47b76eba00f0
-rw-r--r--source/Janrain.OpenId/Server/CheckIdRequest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Janrain.OpenId/Server/CheckIdRequest.cs b/source/Janrain.OpenId/Server/CheckIdRequest.cs
index e0a4da0..debe956 100644
--- a/source/Janrain.OpenId/Server/CheckIdRequest.cs
+++ b/source/Janrain.OpenId/Server/CheckIdRequest.cs
@@ -309,7 +309,7 @@ namespace Janrain.OpenId.Server
}
response.AddField(null, QueryStringArgs.openidnp.mode, mode, false);
- if (_immediate)
+ if (_immediate && !allow)
{
if (server_url == null) { throw new ApplicationException("setup_url is required for allow=False in immediate mode."); }