summaryrefslogtreecommitdiffstats
path: root/include/preferences.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2009-06-24 21:36:07 -0700
committerArun Persaud <arun@nubati.net>2009-06-24 21:36:07 -0700
commit993fc6fffd6c43498c756ef73f8fd27eb4fadce1 (patch)
tree2371eb19928b217e6503e2f3124e0726198a64bb /include/preferences.php
parent744ed663326973102580e1723e88eb74248eb16e (diff)
downloade-DoKo-993fc6fffd6c43498c756ef73f8fd27eb4fadce1.tar.gz
e-DoKo-993fc6fffd6c43498c756ef73f8fd27eb4fadce1.tar.bz2
e-DoKo-993fc6fffd6c43498c756ef73f8fd27eb4fadce1.zip
make a few more check before a password get's changed
don't do anything, if password0 and password1 are the same
Diffstat (limited to 'include/preferences.php')
-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;