diff --git a/backend.php b/backend.php index 0333e11fd..0322743ba 100644 --- a/backend.php +++ b/backend.php @@ -1724,6 +1724,16 @@ if (!SINGLE_USER_MODE) { + $result = db_query($link, "SELECT id FROM ttrss_users + WHERE id = ".$_SESSION["uid"]." AND (pwd_hash = 'password' OR + pwd_hash = 'SHA1:".sha1("password")."')"); + + if (db_num_rows($result) != 0) { + print "