From 2d699b3e43c33ab83bd6b8c860488bb8b71a7586 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 23 Sep 2020 18:32:53 -0500 Subject: [PATCH] Add global help URL to login template --- tailbone/views/auth.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tailbone/views/auth.py b/tailbone/views/auth.py index 5eb0cc53..ef041f99 100644 --- a/tailbone/views/auth.py +++ b/tailbone/views/auth.py @@ -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):