Use a more helpful page title on IndieAuth authorisation pages

This commit is contained in:
Danielle McLean 2017-12-18 10:53:17 +11:00
parent b89405ed88
commit 87f04ce988
Signed by untrusted user: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -12,7 +12,7 @@ from urllib.parse import urlencode, urljoin, urlunparse, urlparse
from .. import tokens
breadcrumbs.add('lemonauth:indie', label='indieauth', parent='home:index')
breadcrumbs.add('lemonauth:indie', parent='home:index')
def canonical(url):
@ -84,7 +84,7 @@ class IndieView(TemplateView):
'verified': verified,
'params': params,
'scopes': scopes,
'title': 'indieauth',
'title': 'indieauth from {client_id}'.format(**params),
}
def post(self, request):