From 3fadf87a7a20b8f924d5ed182b5a271b285d24d6 Mon Sep 17 00:00:00 2001 From: slawkens Date: Tue, 11 Jun 2024 13:14:15 +0200 Subject: [PATCH] Fix title on login page --- system/pages/account/base.php | 2 ++ system/pages/account/login.php | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/system/pages/account/base.php b/system/pages/account/base.php index 3676d7c4..e644b610 100644 --- a/system/pages/account/base.php +++ b/system/pages/account/base.php @@ -12,6 +12,8 @@ defined('MYAAC') or die('Direct access not allowed!'); 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 fbcee654..e68bfd2e 100644 --- a/system/pages/account/login.php +++ b/system/pages/account/login.php @@ -15,8 +15,6 @@ if($logged || !isset($_POST['account_login']) || !isset($_POST['password_login'] return; } -$title = 'Login'; - $login_account = $_POST['account_login']; $login_password = $_POST['password_login']; $remember_me = isset($_POST['remember_me']);