[freeside-commits] branch FREESIDE_3_BRANCH updated. f0cf935a32a2e0186dfff6c30513693965a68cf9

Jonathan Prykop jonathan at 420.am
Thu Apr 28 13:45:20 PDT 2016


The branch, FREESIDE_3_BRANCH has been updated
       via  f0cf935a32a2e0186dfff6c30513693965a68cf9 (commit)
       via  09ccfcf59c37593980fa4a0ec2774f8094f77f8f (commit)
      from  827a44e68e65817932a1715f298c7e7e08dea929 (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 f0cf935a32a2e0186dfff6c30513693965a68cf9
Merge: 09ccfcf 827a44e
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Thu Apr 28 15:44:41 2016 -0500

    Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE_3_BRANCH


commit 09ccfcf59c37593980fa4a0ec2774f8094f77f8f
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Thu Apr 28 15:43:58 2016 -0500

    RT#42235: Strict password requirments are not disabled for signup portal [undid previous, working on better way]

diff --git a/FS/FS/Password_Mixin.pm b/FS/FS/Password_Mixin.pm
index 7f5484c..fc2e03e 100644
--- a/FS/FS/Password_Mixin.pm
+++ b/FS/FS/Password_Mixin.pm
@@ -55,8 +55,7 @@ sub is_password_allowed {
     $cust_main = $cust_pkg->cust_main if $cust_pkg;
   }
   warn "is_password_allowed: no customer could be identified" if !$cust_main;
-  my $agentnum = $cust_main ? $cust_main->agentnum : undef; #selfservice signup has non-inserted pkg, no workaround
-  return '' if $conf->config_bool('password-insecure', $agentnum);
+  return '' if $cust_main && $conf->config_bool('password-insecure', $cust_main->agentnum);
 
   # basic checks using Data::Password;
   # options for Data::Password

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

Summary of changes:
 FS/FS/Password_Mixin.pm |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)




More information about the freeside-commits mailing list