summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/preferences.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/preferences.php b/include/preferences.php
index 8b3937d..2e3eef2 100644
--- a/include/preferences.php
+++ b/include/preferences.php
@@ -246,7 +246,7 @@ if(myisset("open_for_games"))
}
-if(myisset("password0") && $_REQUEST["password0"]!="" )
+if(myisset("password0","password1","password2") && $_REQUEST["password0"]!="" && $_REQUEST["password0"]!= $_REQUEST["password1"])
{
$changed_password = 1;