@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | try { |
| 45 | 45 | $this->getDomainAccessManager()->switchDomain($currentUser, $newDomain); |
| 46 | 46 | } |
| 47 | - catch(DomainSwitchNotAllowedException $ex){ |
|
| 47 | + catch(DomainSwitchNotAllowedException $ex) { |
|
| 48 | 48 | throw new AccessDeniedException($this->getSecurityManager(), $this->getDomainAccessManager()); |
| 49 | 49 | } |
| 50 | 50 | |
@@ -58,7 +58,8 @@ discard block |
||
| 58 | 58 | |
| 59 | 59 | if ($this->barrierTest($route[1], $currentUser, $route[0])) { |
| 60 | 60 | $this->redirect('/' . $referrer); |
| 61 | - } else { |
|
| 61 | + } |
|
| 62 | + else { |
|
| 62 | 63 | $this->redirect('/'); |
| 63 | 64 | } |
| 64 | 65 | } |