diff --git a/auth/auth.py b/auth/auth.py index 9c4f8d1..2b80720 100644 --- a/auth/auth.py +++ b/auth/auth.py @@ -22,7 +22,13 @@ async def get_login_context(error: str | None = None) -> Dict[str, Union[str | bool]]: use_oauth = getattr(getattr(settings, 'OAUTH', None), 'IS_USED', False) only_oauth = getattr(getattr(settings, 'OAUTH', None), 'ONLY_OAUTH', False) - context = {'context': '', 'use_oauth': use_oauth, 'only_oauth': only_oauth} + oauth_sign_in_title = getattr(getattr(settings, 'OAUTH', None), 'SIGN_IN_TITLE', '') + context = { + 'context': '', + 'use_oauth': use_oauth, + 'only_oauth': only_oauth, + 'oauth_sign_in_title': oauth_sign_in_title, + } if error: context['error'] = error return context diff --git a/its_on/templates/users/login.html b/its_on/templates/users/login.html index d29fb28..8df268d 100644 --- a/its_on/templates/users/login.html +++ b/its_on/templates/users/login.html @@ -35,7 +35,7 @@