Reintroduce accidentally deleted line related to passkeys

I'm not sure if this was intentional, but it looks like the initialization of
`pkg` was accidentally deleted in e3019b6a40.
This commit is contained in:
Manav Rathi 2024-02-17 11:07:58 +05:30 committed by Neeraj Gupta
parent cbf107f1a4
commit 7bbd85b187

View file

@ -49,6 +49,7 @@ const PasskeysFlow = () => {
}
}
let pkg = CLIENT_PACKAGE_NAMES.get(APPS.PHOTOS);
if (redirectURL.protocol === 'enteauth:') {
pkg = CLIENT_PACKAGE_NAMES.get(APPS.AUTH);
} else if (redirectURL.hostname.startsWith('accounts')) {