diff --git a/system/pages/account/base.php b/system/pages/account/base.php index 3676d7c44..e644b6102 100644 --- a/system/pages/account/base.php +++ b/system/pages/account/base.php @@ -12,6 +12,8 @@ if(!$logged) { + $title = 'Login'; + if(!empty($errors)) $twig->display('error_box.html.twig', array('errors' => $errors)); diff --git a/system/pages/account/login.php b/system/pages/account/login.php index fbcee654e..e68bfd2e4 100644 --- a/system/pages/account/login.php +++ b/system/pages/account/login.php @@ -15,8 +15,6 @@ return; } -$title = 'Login'; - $login_account = $_POST['account_login']; $login_password = $_POST['password_login']; $remember_me = isset($_POST['remember_me']);