[freeside-commits] branch FREESIDE_3_BRANCH updated. 43c24ae41069a9b5bbbbb508263687869f1cefd3

Ivan ivan at 420.am
Mon Apr 20 13:23:18 PDT 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  43c24ae41069a9b5bbbbb508263687869f1cefd3 (commit)
      from  38ee05619151352ebafdb96eef4dad0d439cf5d0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 43c24ae41069a9b5bbbbb508263687869f1cefd3
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Apr 20 13:23:15 2015 -0700

    fix session creation in new_customer_minimal, RT#34084

diff --git a/FS/FS/ClientAPI/Signup.pm b/FS/FS/ClientAPI/Signup.pm
index 6bc1307..502b6db 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?

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/ClientAPI/Signup.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list