1
0
mirror of https://github.com/bitwarden/web synced 2025-12-12 22:33:23 +00:00

org key fixes

This commit is contained in:
Kyle Spearrin
2017-03-09 22:28:14 -05:00
parent 429b2b8a21
commit 14e290c489
2 changed files with 10 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ angular
if ($state.includes('backend.org')) {
var userProfile = authService.getUserProfile();
if (!userProfile.organizations.length) {
if (!userProfile.organizations || !userProfile.organizations.length) {
return;
}