minor fix in login.php

This commit is contained in:
SJ 2013-04-24 21:01:03 +02:00
parent 56d605549f
commit a132c85be8

View File

@ -11,6 +11,12 @@ class ControllerLoginLogin extends Controller {
$this->layout = "common/layout-empty";
if(Registry::get('username')) {
header("Location: search.php");
exit;
}
$request = Registry::get('request');
$db = Registry::get('db');