Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update domain and navigator.id API

  • Loading branch information...
commit b3891f7c29ad69ada009203f9243f2794c9d6a53 1 parent 80b891f
@SamPenrose SamPenrose authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  server.py
  2. +1 −1  static/browserid.js
  3. +1 −1  templates/base.html
View
2  server.py
@@ -18,7 +18,7 @@ def browserid():
out = urllib.urlencode(dict(audience=web.ctx.host,
assertion=c.browserid_assertion))
# send it to browserid.org to verify it:
- o = json.loads(urllib.urlopen('https://browserid.org/verify', out).read())
+ o = json.loads(urllib.urlopen('https://verifier.login.persona.org/verify', out).read())
if o['status'] == 'failure':
return FalseStorage(o)
else:
View
2  static/browserid.js
@@ -11,7 +11,7 @@ function browserid_login_callback(assertion){
window.location.reload();
}
function browserid_login(){
- navigator.id.getVerifiedEmail(browserid_login_callback);
+ navigator.id.get(browserid_login_callback);
}
function browserid_logout(){
setCookie('browserid_assertion', 'x', -30);
View
2  templates/base.html
@@ -13,5 +13,5 @@
<hr>
<p>copyleft 2012 oscarfroberg.com</p>
-<script src="https://browserid.org/include.js" type="text/javascript"></script>
+<script src="https://login.persona.org/include.js" type="text/javascript"></script>
</body>
Please sign in to comment.
Something went wrong with that request. Please try again.