]> git.wh0rd.org - tt-rss.git/blobdiff - update.php
rework login process, drop http auth
[tt-rss.git] / update.php
index 1e6a44b40fa3d603a9ba9fe36b1a88b52f843277..34357f2f223b370c1762573b7eac0ec097d5478a 100644 (file)
@@ -18,7 +18,8 @@
        $owner_uid = $_SESSION["uid"];
        
        if ($_SESSION["access_level"] < 10) { 
-               header("Location: login.php"); die;
+               print "<p>Error: your access level is insufficient to run this script.</p>";
+               exit;
        }
        
        define('SCHEMA_VERSION', 13);