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:
4baf362
)
fix the confirm_hash creation
author
Alain Peyrat
<aljeux@free.fr>
Thu, 26 Feb 2009 17:41:59 +0000
(17:41 +0000)
committer
Alain Peyrat
<aljeux@free.fr>
Thu, 26 Feb 2009 17:41:59 +0000
(17:41 +0000)
session_hash is not declared global and so = null, we use the
$GLOBALS['session_ser'] instead.
gforge/www/account/change_email.php
patch
|
blob
|
history
diff --git
a/gforge/www/account/change_email.php
b/gforge/www/account/change_email.php
index da3f5d70ea990a47135902db844744b7333e81da..c402c8f03daaa9f1f1257ff140e8c5d3b2d1ed86 100644
(file)
--- a/
gforge/www/account/change_email.php
+++ b/
gforge/www/account/change_email.php
@@
-39,7
+39,7
@@
if (getStringFromRequest('submit')) {
exit_error(_('Error'),_('Invalid email address.'));
}
- $confirm_hash = substr(md5($
session_hash
. time()),0,16);
+ $confirm_hash = substr(md5($
GLOBALS['session_ser']
. time()),0,16);
$u =& user_get_object(user_getid());
if (!$u || !is_object($u)) {