projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98e9e01
)
Merged from Evolvis: use existing variable
author
Roland Mas
<lolando@debian.org>
Fri, 21 Jan 2011 10:29:20 +0000
(10:29 +0000)
committer
Roland Mas
<lolando@debian.org>
Fri, 21 Jan 2011 10:29:20 +0000
(10:29 +0000)
src/www/account/lostpw.php
patch
|
blob
|
history
diff --git
a/src/www/account/lostpw.php
b/src/www/account/lostpw.php
index 7eaaaf8b3ccd59e0d4cfbd531f5a016d2ea874cc..c34ed7e2879011a62e5f2b77ccf18e4ac8967103 100644
(file)
--- a/
src/www/account/lostpw.php
+++ b/
src/www/account/lostpw.php
@@
-47,7
+47,7
@@
if (getStringFromRequest('submit')) {
// First, we need to create new confirm hash
- $confirm_hash = md5(
$session_hash
. strval(time()) . strval(rand()));
+ $confirm_hash = md5(
forge_get_config('session_key')
. strval(time()) . strval(rand()));
$u->setNewEmailAndHash($u->getEmail(), $confirm_hash);
if ($u->isError()) {