mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
8 lines
164 B
TypeScript
8 lines
164 B
TypeScript
import { hashSync } from 'bcryptjs'
|
|
|
|
export default function (args) {
|
|
args.encryptedPassword = hashSync(args.password, 10)
|
|
delete args.password
|
|
return args
|
|
}
|