Access terms without redirect
This commit is contained in:
parent
45b7285d1c
commit
6e7d52f827
1 changed files with 5 additions and 1 deletions
|
|
@ -323,6 +323,10 @@ const FitPubAuth = {
|
|||
return;
|
||||
}
|
||||
|
||||
if (currentPath.startsWith('/terms')) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Check if authenticated
|
||||
if (!this.isAuthenticated()) {
|
||||
// Redirect to login for protected pages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue