payment cancellation

This commit is contained in:
2023-08-03 16:44:23 +02:00
parent 8784f79014
commit 935c8e32da
3 changed files with 25 additions and 3 deletions

View File

@@ -48,8 +48,6 @@ router.beforeEach( ( to, from ) => {
return { name: 'login' };
} else if ( isUserAuthenticated && to.name === 'login' ) {
return { name: 'account' };
} else if ( !isUserAuthenticated && to.name === 'pay' ) {
return { name: 'purchase' };
} else if ( to.name === '2fa' && !userStore.getUserTwoFACompliant ) {
return { name: 'login' };
} else if ( to.name === 'Admin2fa' && !userStore.getAdminTwoFACompliant ) {