Add todo comment

This commit is contained in:
Wolfgang Huß 2022-06-14 10:41:57 +02:00
parent c5f7673cf2
commit 09d99a72f4

View File

@ -337,7 +337,7 @@ export class UserResolver {
// TODO: this is unsecure, but the current implementation of the login server. This way it can be queried if the user with given EMail is existent.
const user = new User(communityDbUser)
user.id = sodium.randombytes_random() % (2048 * 16)
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.email = email
user.emailChecked = true
user.firstName = firstName