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