projects
/
e-DoKo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
744ed66
)
make a few more check before a password get's changed
author
Arun Persaud
<arun@nubati.net>
Thu, 25 Jun 2009 04:36:07 +0000
(21:36 -0700)
committer
Arun Persaud
<arun@nubati.net>
Thu, 25 Jun 2009 04:36:07 +0000
(21:36 -0700)
don't do anything, if password0 and password1 are the same
include/preferences.php
patch
|
blob
|
history
diff --git
a/include/preferences.php
b/include/preferences.php
index 8b3937dba84c7d2d2ddbae553ec0279b0154bd83..2e3eef2fbf53ba6c771db53747d619d4454d398c 100644
(file)
--- 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;