make a few more check before a password get's changed
[e-DoKo.git] / include / preferences.php
index 8b3937dba84c7d2d2ddbae553ec0279b0154bd83..2e3eef2fbf53ba6c771db53747d619d4454d398c 100644 (file)
@@ -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;