mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
Create an "old" Admin account to prevent it to be removed by the SQL cleanup triggers
Update the dependencies Bump package number
This commit is contained in:
parent
8451277676
commit
43b34091af
3 changed files with 9 additions and 7 deletions
|
|
@ -68,7 +68,9 @@ class CreateAdminAccountTest extends Command
|
|||
$account->activated = true;
|
||||
$account->user_agent = 'Test';
|
||||
$account->ip_address = '0.0.0.0';
|
||||
$account->creation_time = Carbon::now();
|
||||
|
||||
// Create an "old" account to prevent unwanted deletion on the test server
|
||||
$account->creation_time = Carbon::now()->subYears(3);
|
||||
$account->save();
|
||||
|
||||
$admin = new Admin;
|
||||
|
|
|
|||
10
flexiapi/composer.lock
generated
10
flexiapi/composer.lock
generated
|
|
@ -933,16 +933,16 @@
|
|||
},
|
||||
{
|
||||
"name": "laravel/framework",
|
||||
"version": "v8.36.2",
|
||||
"version": "v8.37.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/laravel/framework.git",
|
||||
"reference": "0debd8ad6b5aa1f61ccc73910adf049af4ca0444"
|
||||
"reference": "cf4082973abc796ec285190f0603380021f6d26f"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/laravel/framework/zipball/0debd8ad6b5aa1f61ccc73910adf049af4ca0444",
|
||||
"reference": "0debd8ad6b5aa1f61ccc73910adf049af4ca0444",
|
||||
"url": "https://api.github.com/repos/laravel/framework/zipball/cf4082973abc796ec285190f0603380021f6d26f",
|
||||
"reference": "cf4082973abc796ec285190f0603380021f6d26f",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -1097,7 +1097,7 @@
|
|||
"issues": "https://github.com/laravel/framework/issues",
|
||||
"source": "https://github.com/laravel/framework"
|
||||
},
|
||||
"time": "2021-04-07T12:37:22+00:00"
|
||||
"time": "2021-04-13T13:49:49+00:00"
|
||||
},
|
||||
{
|
||||
"name": "laravel/tinker",
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
#%define _datadir %{_datarootdir}
|
||||
#%define _docdir %{_datadir}/doc
|
||||
|
||||
%define build_number 57
|
||||
%define build_number 58
|
||||
%define var_dir /var/opt/belledonne-communications
|
||||
%define opt_dir /opt/belledonne-communications/share/flexisip-account-manager
|
||||
%define env_file "$RPM_BUILD_ROOT/etc/flexisip-account-manager/flexiapi.env"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue