3 Commits
Author SHA1 Message Date
kyle eafe5c24cf Merge pull request 'Hotfix' (#27) from development into main
CI/CD Pipeline / Build and Push PocketBase Docker Image (push) Successful in 8s
CI/CD Pipeline / i18n Catalog Check (push) Successful in 42s
CI/CD Pipeline / Build and Push App Docker Image (push) Successful in 2m33s
CI/CD Pipeline / Deploy to Kubernetes (push) Successful in 8m27s
Reviewed-on: #27
2026-09-21 12:27:34 -05:00
kyle dbfda83e14 Update src/features/login/hooks/use-create-user.ts
CI/CD Pipeline / Build and Push PocketBase Docker Image (push) Successful in 9s
CI/CD Pipeline / i18n Catalog Check (push) Successful in 37s
CI/CD Pipeline / Build and Push App Docker Image (push) Successful in 2m44s
CI/CD Pipeline / Deploy to Kubernetes (push) Successful in 8m30s
2026-09-21 12:15:47 -05:00
kyle 8fde1c9362 Update src/features/login/hooks/use-consume-code.ts
CI/CD Pipeline / Build and Push PocketBase Docker Image (push) Successful in 9s
CI/CD Pipeline / i18n Catalog Check (push) Successful in 43s
CI/CD Pipeline / Deploy to Kubernetes (push) Canceled after 0s
CI/CD Pipeline / Build and Push App Docker Image (push) Canceled after 12s
2026-09-21 12:15:00 -05:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ const useConsumeCode = (onWrongCode: () => void) => {
} else { } else {
queryClient.setQueryData(playerKeys.auth, response.data); queryClient.setQueryData(playerKeys.auth, response.data);
toast.success(t`Successfully logged in. Welcome back!`); toast.success(t`Successfully logged in. Welcome back!`);
navigate({ to: '/' }) window.location.href = '/';
} }
} else if (data.status === 'INCORRECT_USER_INPUT_CODE_ERROR') { } else if (data.status === 'INCORRECT_USER_INPUT_CODE_ERROR') {
onWrongCode(); onWrongCode();
+1 -1
View File
@@ -21,7 +21,7 @@ const useCreateUser = () => {
...old, ...old,
user: data user: data
})); }));
navigate({ to: '/' }); window.location.href = '/';
} }
}); });
}; };