mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
login returnState conditions
This commit is contained in:
@@ -13,6 +13,12 @@ angular
|
||||
params: { plan: $state.params.org }
|
||||
};
|
||||
}
|
||||
else if (!stateParams.returnState && stateParams.premium) {
|
||||
$scope.returnState = {
|
||||
name: 'backend.user.settingsPremium',
|
||||
params: { plan: $state.params.org }
|
||||
};
|
||||
}
|
||||
else {
|
||||
$scope.returnState = stateParams.returnState;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user