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
|
let userId = identity?._id
|
||||||
if (!userId) {
|
if (!userId) {
|
||||||
const ip = context.getIP()
|
const ip = context.getIP()
|
||||||
// TODO; REMOVE THIS
|
|
||||||
tags["userIP"] = ip
|
|
||||||
if (ip) {
|
if (ip) {
|
||||||
userId = crypto.createHash("sha512").update(ip).digest("hex")
|
userId = crypto.createHash("sha512").update(ip).digest("hex")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue