1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-21 14:51:28 +00:00

remove _DEBUG_USER_SWITCH

This commit is contained in:
Andrew Dolgov
2010-01-13 20:08:18 +03:00
parent 1a697fa300
commit f0c33497b1
3 changed files with 0 additions and 28 deletions

View File

@@ -1909,14 +1909,6 @@
function login_sequence($link, $mobile = false) {
if (!SINGLE_USER_MODE) {
if (defined('_DEBUG_USER_SWITCH') && $_SESSION["uid"]) {
$swu = db_escape_string($_REQUEST["swu"]);
if ($swu) {
$_SESSION["prefs_cache"] = false;
return authenticate_user($link, $swu, null, true);
}
}
$login_action = $_POST["login_action"];
# try to authenticate user if called from login form