Tests
This commit is contained in:
parent
cbf4060441
commit
769e05ee0e
1 changed files with 1 additions and 1 deletions
|
|
@ -288,7 +288,7 @@ const FitPubAuth = {
|
|||
*/
|
||||
checkAuthStatus: function() {
|
||||
const currentPath = window.location.pathname;
|
||||
const publicPaths = ['/', '/login', '/timeline'];
|
||||
const publicPaths = ['/', '/login', '/register', '/timeline'];
|
||||
|
||||
// Skip check for public paths
|
||||
if (publicPaths.includes(currentPath)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue