Commit 2a2992fa7d0a6bfd33665ee14ec045195e5d8e52
1 parent
e0fbb81d
Exists in
master
and in
1 other branch
Identificando servidor
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/Cacic/CommonBundle/Controller/SecurityController.php
| ... | ... | @@ -39,7 +39,7 @@ class SecurityController extends Controller |
| 39 | 39 | array( |
| 40 | 40 | 'last_username' => $objSession->get( SecurityContext::LAST_USERNAME ), // último nome de usuário informado no formulário |
| 41 | 41 | 'error' => $error, |
| 42 | - 'url' => $_SERVER['HTTP_HOST'], | |
| 42 | + 'url' => $_SERVER['SERVER_ADDR'], | |
| 43 | 43 | ) |
| 44 | 44 | ); |
| 45 | 45 | } | ... | ... |