Skip to content

Commit 4416856

Browse files
committed
fix: remove VPN check from passkey login/begin to restore autofill
1 parent c822b32 commit 4416856

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

routes/passkeys.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,6 @@ router.post('/passkeys/register/complete', authenticateToken, passkeyRegisterLim
166166

167167
router.post('/passkeys/login/begin', passkeyLoginLimiter, async (req, res) => {
168168
try {
169-
const ip = getClientIp(req);
170-
171-
if (await isVpnOrProxy(ip)) {
172-
return res.status(403).json({ error: 'VPN or proxy detected. Please disable your VPN for security reasons.' });
173-
}
174-
175169
const { email } = req.body;
176170
let userId = null;
177171
let allowCredentials;

0 commit comments

Comments
 (0)