1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Merge pull request #5961 from turbo124/v5-develop

V5 develop
This commit is contained in:
David Bomba 2021-06-08 18:42:52 +10:00 committed by GitHub
commit 6e58f8c304
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
5.1.71
5.1.72

View File

@ -214,7 +214,7 @@ class LoginController extends BaseController
return response()->json(['message' => 'User not linked to any companies'], 403);
/* Ensure the user has a valid token */
$user->company_users->each(function ($company_user){
$user->company_users->each(function ($company_user) use($request){
if($company_user->tokens->count() == 0){
CreateCompanyToken::dispatchNow($company_user->company, $company_user->user, $request->server('HTTP_USER_AGENT'));

View File

@ -14,8 +14,8 @@ return [
'require_https' => env('REQUIRE_HTTPS', true),
'app_url' => rtrim(env('APP_URL', ''), '/'),
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
'app_version' => '5.1.71',
'app_tag' => '5.1.71-release',
'app_version' => '5.1.72',
'app_tag' => '5.1.72-release',
'minimum_client_version' => '5.0.16',
'terms_version' => '1.0.1',
'api_secret' => env('API_SECRET', ''),