mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-01-13 16:34:45 +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
|
|
}
|