فهرست منبع

feat: allow enteauth: deeplinks

httpjamesm 1 سال پیش
والد
کامیت
daa1710cea
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      apps/accounts/src/pages/passkeys/flow/index.tsx

+ 2 - 1
apps/accounts/src/pages/passkeys/flow/index.tsx

@@ -36,7 +36,8 @@ const PasskeysFlow = () => {
             if (
             if (
                 redirect !== '' &&
                 redirect !== '' &&
                 !redirectURL.host.endsWith('.ente.io') &&
                 !redirectURL.host.endsWith('.ente.io') &&
-                redirectURL.protocol !== 'ente:'
+                redirectURL.protocol !== 'ente:' &&
+                redirectURL.protocol !== 'enteauth:'
             ) {
             ) {
                 setInvalidInfo(true);
                 setInvalidInfo(true);
                 setLoading(false);
                 setLoading(false);