Permalink
Browse files

Merge pull request #1 from SamPenrose/master

update domain and navigator.id API
  • Loading branch information...
2 parents 80b891f + b3891f7 commit 6baa7ebea45ac1e2aa5fdca25d7b4c9eb0029812 @oscarfroberg committed Aug 23, 2013
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
@@ -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
@@ -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
@@ -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>

0 comments on commit 6baa7eb

Please sign in to comment.