We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 963b990 commit 203592dCopy full SHA for 203592d
app/utils/auth.server.ts
@@ -280,7 +280,7 @@ export async function checkCommonPassword(password: string) {
280
const data = await res.text()
281
return data.split('/\r?\n/').some((line) => line.includes(suffix))
282
} catch (error) {
283
- if (error instanceof DOMException && error.name === 'AbortError') {
+ if (error instanceof Error && error.name === 'AbortError') {
284
console.warn('Password check timed out')
285
}
286
return false
0 commit comments