mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-16 09:54:41 +00:00
This commit takes all backend changes for signup and invite feature. I was working on these features and removed the generated mutations for type user along the way.
8 lines
163 B
JavaScript
8 lines
163 B
JavaScript
import { hashSync } from 'bcryptjs'
|
|
|
|
export default function(args) {
|
|
args.encryptedPassword = hashSync(args.password, 10)
|
|
delete args.password
|
|
return args
|
|
}
|