default password warning
This commit is contained in:
parent
27eeb00baf
commit
a029d5309f
1 changed files with 10 additions and 0 deletions
10
backend.php
10
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 "<div class=\"warning\"><b>Warning</b>:
|
||||
Your password is at default value, please change it.
|
||||
</div>";
|
||||
}
|
||||
|
||||
print "<form action=\"backend.php\" method=\"POST\">";
|
||||
|
||||
print "<table width=\"100%\" class=\"prefPrefsList\">";
|
||||
|
|
Loading…
Reference in a new issue