Removed REMOTE_ADDR variable
This commit is contained in:
@@ -8,7 +8,6 @@ export async function verifyPasswordResetHandler(c: AppContext) {
|
|||||||
const ip =
|
const ip =
|
||||||
c.req.header('x-forwarded-for') ||
|
c.req.header('x-forwarded-for') ||
|
||||||
c.req.header('cf-connecting-ip') ||
|
c.req.header('cf-connecting-ip') ||
|
||||||
c.env?.REMOTE_ADDR ||
|
|
||||||
'unknown';
|
'unknown';
|
||||||
const userAgent = c.req.header('user-agent');
|
const userAgent = c.req.header('user-agent');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user