vulneribilty fixed

This commit is contained in:
nabijonovdavronbek619@gmail.com
2026-04-09 12:00:06 +05:00
parent dfb8d3bdbc
commit 73158a1972
26 changed files with 553 additions and 175 deletions

View File

@@ -53,12 +53,10 @@ export function useRegisterForm() {
toggleRegisterModal();
setSuccess(true);
toast.success("Ro'yxatdan o'tish muvaffaqiyatli!");
route.push('/plagat');
route.push('/plagiat');
},
onError: (err) => {
// toggleLoginModal();
console.log('Register failed:', err);
toast.error(err instanceof Error ? err.message : 'Unknown error');
},
});