TT#84453 - Fix error when subscriber logs in on old CSC

* Add check for existence of webpassword on subscriber
	   log in to prevent the code from trying to use the
	   undefined password
	 * Subscribers with no webpassword cannot log in the old CSC

Change-Id: I7b82c014fa5f70fa36ee7282db94a747e54ce2ae
changes/39/41339/1
Flaviu Mates 6 years ago
parent b1defc5494
commit 6c645490e6

@ -114,7 +114,7 @@ sub perform_subscriber_auth {
});
my $sub = $authrs->first;
if(defined $sub) {
if(defined $sub && $sub->webpassword) {
my $sub_pass = $sub->webpassword;
if (length $sub_pass > 40) {
my @splitted_pass = split /\$/, $sub_pass;

Loading…
Cancel
Save