## Summary
- `/entrar` and `/registar` redirected to `/` because `!config.auth_links` is truthy when `auth_links` is `undefined` (config fallback)
- Change both pages to `config.auth_links === false`: only an explicit opt-out sends home; missing or `true` both forward to `wp-login.php`
- Add `Cache-Control: no-store` to prevent edge-caching of auth redirects
- Extend `smoke-andebol.sh` to assert `/entrar` and `/registar` resolve to a `wp-login` URL
Fixes [BIT-22298](/BIT/issues/BIT-22298)
/entrar and /registar redirected to / because !config.auth_links is
truthy when auth_links is undefined (config fallback). Change both
pages to config.auth_links === false so only an explicit opt-out sends
the user home; missing or true both forward to wp-login.php.
Also add Cache-Control: no-store to the redirect response so edge
proxies never cache auth flows, and extend smoke-andebol.sh to assert
/entrar and /registar resolve to a wp-login URL.
Paperclip-Issue: BIT-22298
Paperclip-Agent: d706f4e6-5d05-4cec-b6e8-f8fb1f203aae
spark
merged commit b4af1397b7 into main2026-05-14 14:52:54 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
/entrarand/registarredirected to/because!config.auth_linksis truthy whenauth_linksisundefined(config fallback)config.auth_links === false: only an explicit opt-out sends home; missing ortrueboth forward towp-login.phpCache-Control: no-storeto prevent edge-caching of auth redirectssmoke-andebol.shto assert/entrarand/registarresolve to awp-loginURLFixes BIT-22298