Remove IP tag.
This commit is contained in:
parent
26f2deb234
commit
9d70b123e5
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue