diff options
| author | stuppie | 2026-09-17 10:05:48 -0600 |
|---|---|---|
| committer | stuppie | 2026-09-17 10:05:48 -0600 |
| commit | e73cab566ca6f40c213c9a42d34d8f6af8515589 (patch) | |
| tree | 01ad453e75f8114c59708984ed53cbf066f6e365 /jb/views/auth.py | |
| parent | bb999c73ab563b27e469fc4f74a5f81a5f35fffd (diff) | |
| download | amt-jb-e73cab566ca6f40c213c9a42d34d8f6af8515589.tar.gz amt-jb-e73cab566ca6f40c213c9a42d34d8f6af8515589.zip | |
render_base_html to server base html with js file templated
Diffstat (limited to 'jb/views/auth.py')
| -rw-r--r-- | jb/views/auth.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jb/views/auth.py b/jb/views/auth.py index 1b4c364..cc1224f 100644 --- a/jb/views/auth.py +++ b/jb/views/auth.py @@ -32,7 +32,7 @@ from jb.models.auth import ( MagicLinkExchangeRequest, User, ) -from jb.settings import BASE_HTML +from jb.settings import render_base_html auth_router = APIRouter(prefix="/auth", tags=["Auth"]) @@ -90,7 +90,7 @@ def magic_link_landing_page( _exchange_magic_link(token, response, gr_api) return response return HTMLResponse( - BASE_HTML, + render_base_html(), headers={ "Cache-Control": "no-store", "Referrer-Policy": "no-referrer", @@ -180,7 +180,7 @@ def link_amt_account_landing_page( _exchange_amt_account_link(token=token, response=_response, gr_api=gr_api) return HTMLResponse( - BASE_HTML, + render_base_html(), headers={ "Cache-Control": "no-store", "Referrer-Policy": "no-referrer", |
