payment cancellation

This commit is contained in:
janishutz committed 2023-08-03 16:44:23 +02:00
1 parent 8784f79014
commit 935c8e32da
3 files changed
+25 -3

No files matched your search

-2
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 ) {