projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c14803e
)
fix session creation in new_customer_minimal, RT#34084
author
Ivan Kohler
<ivan@freeside.biz>
Mon, 20 Apr 2015 20:23:13 +0000
(13:23 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Mon, 20 Apr 2015 20:23:13 +0000
(13:23 -0700)
FS/FS/ClientAPI/Signup.pm
patch
|
blob
|
history
diff --git
a/FS/FS/ClientAPI/Signup.pm
b/FS/FS/ClientAPI/Signup.pm
index
174883a
..
c163328
100644
(file)
--- a/
FS/FS/ClientAPI/Signup.pm
+++ b/
FS/FS/ClientAPI/Signup.pm
@@
-1043,7
+1043,7
@@
sub new_customer_minimal {
my $session_id;
do {
- $session_id = sha
1
_hex(time(). {}. rand(). $$)
+ $session_id = sha
512
_hex(time(). {}. rand(). $$)
} until ( ! defined _myaccount_cache->get($session_id) ); #just in case
_cache->set( $session_id, $session, '1 hour' ); # 1 hour?