Remove IP tag.

This commit is contained in:
Sam Rose 2024-10-09 15:22:38 +01:00
parent 26f2deb234
commit 9d70b123e5
No known key found for this signature in database
1 changed files with 0 additions and 2 deletions

View File

@ -198,8 +198,6 @@ export class FlagSet<V extends Flag<any>, T extends { [key: string]: V }> {
let userId = identity?._id
if (!userId) {
const ip = context.getIP()
// TODO; REMOVE THIS
tags["userIP"] = ip
if (ip) {
userId = crypto.createHash("sha512").update(ip).digest("hex")
}