Update LoginController.class.php

Login redirect fix same as issue #82
This commit is contained in:
nerdalertdk 2014-04-24 12:20:08 +02:00
parent 091b6a3a9f
commit 8bbc89f69f
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class LoginController extends AbstractController {
if($result) {
// success login, redirect
header('Location: ' . $_SERVER['REQUEST_URI']);
header('Location: //'.$_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']);
die();
} else {
$this->addMessage(psm_get_lang('login', 'error_login_incorrect'), 'error');