projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
827a44e
)
Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE...
author
Jonathan Prykop
<jonathan@freeside.biz>
Thu, 28 Apr 2016 20:44:41 +0000
(15:44 -0500)
committer
Jonathan Prykop
<jonathan@freeside.biz>
Thu, 28 Apr 2016 20:44:41 +0000
(15:44 -0500)
FS/FS/Password_Mixin.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Password_Mixin.pm
b/FS/FS/Password_Mixin.pm
index
7f5484c
..
fc2e03e
100644
(file)
--- 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