Make login template use same logo as home page
This commit is contained in:
parent
94894b2d27
commit
5b35c3dd3b
3 changed files with 7 additions and 2 deletions
|
@ -117,9 +117,14 @@ class AuthenticationView(View):
|
|||
else:
|
||||
self.request.session.flash("Invalid username or password", 'error')
|
||||
|
||||
image_url = self.rattail_config.get(
|
||||
'tailbone', 'main_image_url',
|
||||
default=self.request.static_url('tailbone:static/img/home_logo.png'))
|
||||
|
||||
return {
|
||||
'form': forms.FormRenderer(form),
|
||||
'referrer': referrer,
|
||||
'image_url': image_url,
|
||||
'dialog': mobile,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue