mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 07:02:00 +01:00
minor fix in login.php
This commit is contained in:
parent
56d605549f
commit
a132c85be8
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user