Access terms without redirect

This commit is contained in:
Tim Zöller 2026-01-13 13:22:20 +01:00
parent 45b7285d1c
commit 6e7d52f827

View file

@ -323,6 +323,10 @@ const FitPubAuth = {
return;
}
if (currentPath.startsWith('/terms')) {
return;
}
// Check if authenticated
if (!this.isAuthenticated()) {
// Redirect to login for protected pages