Skip to content

Comments

Use LOGIN_URL setting in session timeout middleware#967

Merged
MatMoore merged 2 commits intomainfrom
use-login-url-setting
Feb 2, 2026
Merged

Use LOGIN_URL setting in session timeout middleware#967
MatMoore merged 2 commits intomainfrom
use-login-url-setting

Conversation

@MatMoore
Copy link
Contributor

@MatMoore MatMoore commented Feb 2, 2026

Split from #955

I noticed that we are hardcoding the URL used for redirecting on session timeout, meaning it goes to the wrong place in local dev. Switching to settings.LOGIN_URL sorts it out.

This allows timeouts to cause a redirect to the persona login in local
dev.
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 2, 2026

@MatMoore MatMoore merged commit e02091b into main Feb 2, 2026
14 checks passed
@MatMoore MatMoore deleted the use-login-url-setting branch February 2, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants