1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 05:25:56 +00:00

rework login form

This commit is contained in:
Andrew Dolgov
2012-09-10 20:15:45 +04:00
parent 2d6847495f
commit 675f198a7c
5 changed files with 121 additions and 173 deletions

View File

@@ -63,20 +63,6 @@
authenticate_user($link, "admin", null);
}
// TODO remove and handle within Handlers
/* if (!($_SESSION["uid"] && validate_session($link))) {
if ($op == 'pref-feeds' && $method == 'add') {
header("Content-Type: text/html");
login_sequence($link);
render_login_form($link);
} else {
header("Content-Type: text/plain");
print json_encode(array("error" => array("code" => 6)));
}
return;
} */
$purge_intervals = array(
0 => __("Use default"),
-1 => __("Never purge"),