forked from orbit-oss/flask
Added site name to persona login
This commit is contained in:
parent
5f648a8eb8
commit
23d8d66256
2 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<!doctype html>
|
||||
<title>{% block title %}{% endblock %} | My Blog</title>
|
||||
<title>{% block title %}{% endblock %} | Flask Persona Example</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
|
||||
<script src="{{ config.PERSONA_JS }}"></script>
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue