@@ -53,7 +53,7 @@ export function Logout() {
|
||||
Crisp.session.reset(); // 2. Unbind the current session
|
||||
const pathname = location.pathname;
|
||||
if (
|
||||
!['', '/', '/auth', '/tos', '/privacy-policy'].includes(pathname) &&
|
||||
!['', '/', '/auth', '/tos', '/privacy-policy', '/register'].includes(pathname) &&
|
||||
!pathname.startsWith('/purchasing') &&
|
||||
!pathname.startsWith('/oauth/')
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user