Add global help URL to login template
This commit is contained in:
parent
24cc4b4272
commit
2d699b3e43
|
@ -37,6 +37,7 @@ from tailbone import forms
|
|||
from tailbone.db import Session
|
||||
from tailbone.views import View
|
||||
from tailbone.auth import login_user, logout_user
|
||||
from tailbone.config import global_help_url
|
||||
|
||||
|
||||
class UserLogin(colander.MappingSchema):
|
||||
|
@ -128,6 +129,7 @@ class AuthenticationView(View):
|
|||
'referrer': referrer,
|
||||
'image_url': image_url,
|
||||
'use_buefy': use_buefy,
|
||||
'help_url': global_help_url(self.rattail_config),
|
||||
}
|
||||
|
||||
def authenticate_user(self, username, password):
|
||||
|
|
Loading…
Reference in a new issue