1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

updater: render login form on access level violation (closes #123)

This commit is contained in:
Andrew Dolgov
2007-03-22 07:42:39 +01:00
parent be0801a161
commit a190ebfde1
3 changed files with 40 additions and 52 deletions

View File

@@ -20,8 +20,8 @@
$owner_uid = $_SESSION["uid"];
if (!SINGLE_USER_MODE && $_SESSION["access_level"] < 10) {
print "<p>".
__("Error: your access level is insufficient to run this script.")."</p>";
$_SESSION["login_error_msg"] = __("Your access level is insufficient to run this script.");
render_login_form($link);
exit;
}