Added site name to persona login

This commit is contained in:
Armin Ronacher 2013-06-09 01:39:51 +01:00
parent 5f648a8eb8
commit 23d8d66256
2 changed files with 4 additions and 2 deletions

View file

@ -2,7 +2,9 @@ $(function() {
/* convert the links into clickable buttons that go to the
persona service */
$('a.signin').on('click', function() {
navigator.id.request();
navigator.id.request({
siteName: 'Flask Persona Example'
});
return false;
});