diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-08-25 22:13:45 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-08-25 22:13:45 +0200 |
commit | 915428d385ccc639fd97c3e00accad42c1079ca2 (patch) | |
tree | a4cf18f64f109f3fec936de5ff6eba48b8e36dfe /src | |
parent | e1a1f43acf513b79e1a2df61680c8ae635c61fbc (diff) |
BrowserID -> Mozilla Persona.
Diffstat (limited to 'src')
-rw-r--r-- | src/mulk/benki/auth.clj | 8 | ||||
-rw-r--r-- | src/mulk/benki/util.clj | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/mulk/benki/auth.clj b/src/mulk/benki/auth.clj index 5a7e847..d3a9aa9 100644 --- a/src/mulk/benki/auth.clj +++ b/src/mulk/benki/auth.clj @@ -59,7 +59,7 @@ (defpage [:post "/login/browserid/verify"] {assertion :assertion} ;; NB. Can implement this ourselves if we want. - (let [reply (http/post "https://browserid.org/verify" + (let [reply (http/post "https://verifier.login.persona.org/verify" :query {:assertion assertion :audience (:base-uri @benki-config)} :as :json) @@ -79,7 +79,7 @@ :body "I couldn't find you in the database."}))) {:status 400, :headers {"Content-Type" "text/plain"}, - :body "Your BrowserID request was crooked."}))) + :body "Your Persona request was crooked."}))) (defpage [:post "/login/return"] [] @@ -151,10 +151,10 @@ (session/flash-put! ::return-uri return-uri) (layout login-page-layout "Benki Login" [:div#browserid-box - [:h2 "BrowserID login"] + [:h2 "Mozilla Persona login"] [:a#browserid {:href "#"} [:img {:src (resolve-uri "/3rdparty/browserid/sign_in_orange.png") - :alt "Sign in using BrowserID"}]]] + :alt "Sign in using Mozilla Persona"}]]] [:div#openid-login-panel [:h2 "OpenID login"] [:form {:action (resolve-uri "/login/authenticate"), diff --git a/src/mulk/benki/util.clj b/src/mulk/benki/util.clj index db27432..19575c3 100644 --- a/src/mulk/benki/util.clj +++ b/src/mulk/benki/util.clj @@ -58,7 +58,7 @@ [:script {:type "text/javascript" :src (resolve-uri "/3rdparty/jquery/jquery-1.7.min.js")}] [:script {:type "text/javascript" - :src "https://browserid.org/include.js"}] + :src "https://login.persona.org/include.js"}] [:script {:type "text/javascript" :src (resolve-uri "/js/browserid.js")}] [:link {:type "text/css" |