mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
commit
6e58f8c304
@ -1 +1 @@
|
|||||||
5.1.71
|
5.1.72
|
@ -214,7 +214,7 @@ class LoginController extends BaseController
|
|||||||
return response()->json(['message' => 'User not linked to any companies'], 403);
|
return response()->json(['message' => 'User not linked to any companies'], 403);
|
||||||
|
|
||||||
/* Ensure the user has a valid token */
|
/* 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){
|
if($company_user->tokens->count() == 0){
|
||||||
CreateCompanyToken::dispatchNow($company_user->company, $company_user->user, $request->server('HTTP_USER_AGENT'));
|
CreateCompanyToken::dispatchNow($company_user->company, $company_user->user, $request->server('HTTP_USER_AGENT'));
|
||||||
|
@ -14,8 +14,8 @@ return [
|
|||||||
'require_https' => env('REQUIRE_HTTPS', true),
|
'require_https' => env('REQUIRE_HTTPS', true),
|
||||||
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
||||||
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
|
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
|
||||||
'app_version' => '5.1.71',
|
'app_version' => '5.1.72',
|
||||||
'app_tag' => '5.1.71-release',
|
'app_tag' => '5.1.72-release',
|
||||||
'minimum_client_version' => '5.0.16',
|
'minimum_client_version' => '5.0.16',
|
||||||
'terms_version' => '1.0.1',
|
'terms_version' => '1.0.1',
|
||||||
'api_secret' => env('API_SECRET', ''),
|
'api_secret' => env('API_SECRET', ''),
|
||||||
|
Loading…
Reference in New Issue
Block a user