mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
initialize gradidoID of fakedUser per uuidv4() instead of constant
This commit is contained in:
parent
cd71bf7661
commit
e876f32ad5
@ -364,7 +364,7 @@ export class UserResolver {
|
||||
|
||||
const user = new User(communityDbUser)
|
||||
user.id = sodium.randombytes_random() % (2048 * 16) // TODO: for a better faking derive id from email so that it will be always the same id when the same email comes in?
|
||||
user.gradidoID = '11111111-2222-4333-4444-55555555'
|
||||
user.gradidoID = uuidv4()
|
||||
user.email = email
|
||||
user.firstName = firstName
|
||||
user.lastName = lastName
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user