Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix lint

Manav Rathi1d1fa2923988
diff --git a/web/apps/accounts/.eslintrc.js b/web/apps/accounts/.eslintrc.js
index 41bd549f98..3b5c297ccd 100644
--- a/web/apps/accounts/.eslintrc.js
+++ b/web/apps/accounts/.eslintrc.js
@@ -13,7 +13,6 @@ module.exports = {
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unsafe-argument": "off",
- "@typescript-eslint/restrict-template-expressions": "off",
"react-refresh/only-export-components": "off",
},
};
diff --git a/web/apps/accounts/src/pages/passkeys/verify.tsx b/web/apps/accounts/src/pages/passkeys/verify.tsx
index 26cbbc7b77..c9c2c374c8 100644
--- a/web/apps/accounts/src/pages/passkeys/verify.tsx
+++ b/web/apps/accounts/src/pages/passkeys/verify.tsx
@@ -50,7 +50,7 @@ const Page = () => {
// Ensure that redirectURL is whitelisted, otherwise show an invalid
// "login" URL error to the user.
if (!redirectURL || !isWhitelistedRedirect(redirectURL)) {
- log.error(`Redirect URL '${redirectURL}' is not whitelisted`);
+ log.error(`Redirect '${redirect}' is not whitelisted`);
setStatus("unknownRedirect");
return;
}