From f4af10e82aa2dccbbbf97ed3f8a65a9da4c850a1 Mon Sep 17 00:00:00 2001 From: Patrick Alvin Alcala Date: Fri, 26 Sep 2025 17:51:47 +0800 Subject: [PATCH] Cleanup --- src/pages/RegisterPage/Register.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pages/RegisterPage/Register.tsx b/src/pages/RegisterPage/Register.tsx index c5a9fda..72632b2 100644 --- a/src/pages/RegisterPage/Register.tsx +++ b/src/pages/RegisterPage/Register.tsx @@ -6,7 +6,6 @@ import { ofetch } from 'ofetch' import { SHA3, SHA1 } from 'crypto-js' import dayjs from 'dayjs' import { FileField } from '@kobalte/core/file-field' -import bcrypt from 'bcryptjs' export default () => { const API = import.meta.env.VITE_BACKEND @@ -71,8 +70,6 @@ export default () => { } const securePassword = async () => { - // const salt = bcrypt.genSaltSync(9) - // const hash = bcrypt.hashSync(password(), salt) const firstHashing = SHA1(password()) const secondHashing = SHA3(firstHashing) const thirdHashing = SHA1(secondHashing)