diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-04-20 13:23:15 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-04-20 13:23:15 -0700 |
commit | 43c24ae41069a9b5bbbbb508263687869f1cefd3 (patch) | |
tree | 9a8d5897a60e52c6576989d17315dcfae879b34c | |
parent | 38ee05619151352ebafdb96eef4dad0d439cf5d0 (diff) |
fix session creation in new_customer_minimal, RT#34084
-rw-r--r-- | FS/FS/ClientAPI/Signup.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/Signup.pm b/FS/FS/ClientAPI/Signup.pm index 6bc13075f..502b6db08 100644 --- a/FS/FS/ClientAPI/Signup.pm +++ b/FS/FS/ClientAPI/Signup.pm @@ -1052,7 +1052,7 @@ sub new_customer_minimal { my $session_id; do { - $session_id = sha1_hex(time(). {}. rand(). $$) + $session_id = sha512_hex(time(). {}. rand(). $$) } until ( ! defined _myaccount_cache->get($session_id) ); #just in case _cache->set( $session_id, $session, '1 hour' ); # 1 hour? |