Cleanup
This commit is contained in:
parent
db4b1c1065
commit
f4af10e82a
1 changed files with 0 additions and 3 deletions
|
|
@ -6,7 +6,6 @@ import { ofetch } from 'ofetch'
|
||||||
import { SHA3, SHA1 } from 'crypto-js'
|
import { SHA3, SHA1 } from 'crypto-js'
|
||||||
import dayjs from 'dayjs'
|
import dayjs from 'dayjs'
|
||||||
import { FileField } from '@kobalte/core/file-field'
|
import { FileField } from '@kobalte/core/file-field'
|
||||||
import bcrypt from 'bcryptjs'
|
|
||||||
|
|
||||||
export default () => {
|
export default () => {
|
||||||
const API = import.meta.env.VITE_BACKEND
|
const API = import.meta.env.VITE_BACKEND
|
||||||
|
|
@ -71,8 +70,6 @@ export default () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const securePassword = async () => {
|
const securePassword = async () => {
|
||||||
// const salt = bcrypt.genSaltSync(9)
|
|
||||||
// const hash = bcrypt.hashSync(password(), salt)
|
|
||||||
const firstHashing = SHA1(password())
|
const firstHashing = SHA1(password())
|
||||||
const secondHashing = SHA3(firstHashing)
|
const secondHashing = SHA3(firstHashing)
|
||||||
const thirdHashing = SHA1(secondHashing)
|
const thirdHashing = SHA1(secondHashing)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue