mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
[AC-1139] Added missing parameter to customRedirect
This commit is contained in:
@@ -27,7 +27,7 @@ export class OrganizationRedirectGuard implements CanActivate {
|
||||
|
||||
const customRedirect = route.data?.autoRedirectCallback;
|
||||
if (customRedirect) {
|
||||
let redirectPath = customRedirect(org);
|
||||
let redirectPath = customRedirect(org, flexibleCollectionsEnabled);
|
||||
if (typeof redirectPath === "string") {
|
||||
redirectPath = [redirectPath];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user