| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function onInteractiveLogin(InteractiveLoginEvent $event) |
||
| 32 | { |
||
| 33 | $user = $event->getAuthenticationToken()->getUser(); |
||
| 34 | |||
| 35 | if (null !== $user->getLocale()) { |
||
| 36 | $this->session->set('_locale', $user->getLocale()); |
||
| 37 | $this->session->set('_locale_user', $user->getLocale()); |
||
| 38 | } |
||
| 48 |