@@ -115,7 +115,9 @@ |
||
115 | 115 | $sites = $this->app->getSites(); |
116 | 116 | |
117 | 117 | // If the user doesn't have access to any Lifeboat site force a re-auth |
118 | - if (count($sites) < 1) return $this->reloadAuth(); |
|
118 | + if (count($sites) < 1) { |
|
119 | + return $this->reloadAuth(); |
|
120 | + } |
|
119 | 121 | |
120 | 122 | // If the user only has access to one Lifeboat site then automatically use that |
121 | 123 | if (count($sites) === 1) { |