diff options
author | Arun Persaud <arun@nubati.net> | 2009-06-24 21:36:07 -0700 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2009-06-24 21:36:07 -0700 |
commit | 993fc6fffd6c43498c756ef73f8fd27eb4fadce1 (patch) | |
tree | 2371eb19928b217e6503e2f3124e0726198a64bb | |
parent | 744ed663326973102580e1723e88eb74248eb16e (diff) | |
download | e-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
-rw-r--r-- | include/preferences.php | 2 |
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; |