diff --git a/flexiapi/app/Console/Commands/CreateAdminAccountTest.php b/flexiapi/app/Console/Commands/CreateAdminAccountTest.php index 0ff53e6..8392d4e 100644 --- a/flexiapi/app/Console/Commands/CreateAdminAccountTest.php +++ b/flexiapi/app/Console/Commands/CreateAdminAccountTest.php @@ -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; diff --git a/flexiapi/composer.lock b/flexiapi/composer.lock index eaa0439..cda80f5 100644 --- a/flexiapi/composer.lock +++ b/flexiapi/composer.lock @@ -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", diff --git a/flexisip-account-manager.spec b/flexisip-account-manager.spec index c6717c7..65c00e4 100644 --- a/flexisip-account-manager.spec +++ b/flexisip-account-manager.spec @@ -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"