From 4585ff0eabea94882cfec5383a6c3d38cd512dd4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 21 Nov 2005 05:25:48 +0100 Subject: [PATCH] login redirects to main page if SINGLE_USER_MODE --- login.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/login.php b/login.php index 92646c16..83293111 100644 --- a/login.php +++ b/login.php @@ -5,6 +5,11 @@ require_once "config.php"; require_once "functions.php"; + if (SINGLE_USER_MODE) { + header("Location: tt-rss.php"); + exit; + } + $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); $login = $_POST["login"]; -- 2.39.5