summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mulk/benki/auth.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mulk/benki/auth.clj b/src/mulk/benki/auth.clj
index 5333269..07e3694 100644
--- a/src/mulk/benki/auth.clj
+++ b/src/mulk/benki/auth.clj
@@ -60,7 +60,7 @@
(defpage "/login/return" []
(return-from-openid-provider))
-(defpage "/login/authenticate" {openid :openid}
+(defpage "/login/authenticate" {openid :openid_identifier}
(let [discoveries (.discover manager openid)
discovered (.associate manager discoveries)
authreq (.authenticate manager discovered (resolve-uri "/login/return"))]
@@ -83,5 +83,5 @@
[:p "Please select your OpenID provider:"]
[:div {:id "openid_btns"}]]
[:div {:id "openid_input_area"}
- [:input {:type "text", :name "openid", :id "openid_identifier"}]
+ [:input {:type "text", :name "openid_identifier", :id "openid_identifier"}]
[:input {:type "submit"}]]]))