Update legacy client login links to use the new unified login method

This commit is contained in:
johnnyq
2025-12-10 12:21:12 -05:00
parent 8b5f2e0f3f
commit 871ad2ea7e
6 changed files with 14 additions and 248 deletions

View File

@@ -12,7 +12,7 @@ require_once '../includes/load_global_settings.php';
if (empty($config_smtp_host)) {
header("Location: login.php");
header("Location: /login.php");
exit();
}
@@ -157,7 +157,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
// Redirect to login page
$_SESSION['login_message'] = "Password reset successfully!";
header("Location: login.php");
header("Location: /login.php");
exit();
} else {
@@ -275,7 +275,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
?>
</p>
<a href="login.php">Back to login</a>
<a href="/login.php">Back to login</a>
</div>