Check the presence of the confirmation_key before injecting it

This commit is contained in:
Timothée Jaussoin 2022-01-26 11:50:46 +01:00
parent 2aa38bc021
commit 09a3d131ca
2 changed files with 3 additions and 3 deletions

View file

@ -40,7 +40,7 @@ class LiblinphoneTesterAccoutSeeder extends Seeder
$element->username,
$element->domain,
$element->activated ?? true,
$element->confirmation_key
$element->confirmation_key ?? null
)
);
@ -78,7 +78,7 @@ class LiblinphoneTesterAccoutSeeder extends Seeder
str_replace('%usernamePostfix%', $element->usernameStart + $i, $element->username),
$element->domain,
$element->activated ?? true,
$element->confirmation_key
$element->confirmation_key ?? null
)
);

View file

@ -8,7 +8,7 @@
#%define _datadir %{_datarootdir}
#%define _docdir %{_datadir}/doc
%define build_number 128
%define build_number 129
%define var_dir /var/opt/belledonne-communications
%define opt_dir /opt/belledonne-communications/share/flexisip-account-manager