diff --git a/webui/controller/login/login.php b/webui/controller/login/login.php index e6466bb..bd16dad 100644 --- a/webui/controller/login/login.php +++ b/webui/controller/login/login.php @@ -11,6 +11,12 @@ $this->layout = "common/layout-empty"; + if(Registry::get('username')) { + header("Location: search.php"); + exit; + } + + $request = Registry::get('request'); $db = Registry::get('db');