[web][passkey] Whitelist *.ente.sh redirect urls

This commit is contained in:
Neeraj Gupta 2024-03-12 09:24:57 +05:30 committed by Neeraj Gupta
parent 638de0a769
commit dbc50760af

View file

@ -40,6 +40,7 @@ const PasskeysFlow = () => {
redirect !== "" &&
!(
redirectURL.host.endsWith(".ente.io") ||
redirectURL.host.endsWith(".ente.sh") ||
redirectURL.host.endsWith("bada-frame.pages.dev")
) &&
redirectURL.protocol !== "ente:" &&