Skip to content

Only redirect after refresh failure in middleware auth mode#155

Merged
PaulAsjes merged 5 commits intomainfrom
pma/middleware-auth-redirect
Jan 10, 2025
Merged

Only redirect after refresh failure in middleware auth mode#155
PaulAsjes merged 5 commits intomainfrom
pma/middleware-auth-redirect

Conversation

@PaulAsjes
Copy link
Copy Markdown
Contributor

Changes our previous behaviour slightly where we would redirect if a refresh failed. Unless we're in middleware auth mode, the page itself should decide on whether a redirect is needed as it could contain content that's meant to be viewable when a user isn't logged in.

@PaulAsjes PaulAsjes mentioned this pull request Dec 27, 2024
@PaulAsjes PaulAsjes requested a review from cmatheson January 2, 2025 12:55
@PaulAsjes PaulAsjes merged commit e695170 into main Jan 10, 2025
@PaulAsjes PaulAsjes deleted the pma/middleware-auth-redirect branch January 10, 2025 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants