From c0eeee1cfd41d0f5f6ff6ac3d6fe021421376a69 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sun, 03 Feb 2008 20:12:50 +0000 Subject: openid 1 compatibility fix in OP I shouldn't be failing if there's no claimed_id field for OpenID 1 request. Signed-off-by: Michael Krelin --- (limited to 'lib') diff --git a/lib/basic_op.cc b/lib/basic_op.cc index 11ffb48..c89d1d7 100644 --- a/lib/basic_op.cc +++ b/lib/basic_op.cc @@ -185,6 +185,7 @@ namespace opkele { if(openid2) throw bad_input(OPKELE_CP_ "claimed_id and identity must be either both present or both absent"); + claimed_id = identity; } }catch(failed_lookup&) { if(openid2 && inm.has_field("claimed_id")) -- cgit v0.9.0.2