mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Clean up logout requests
This commit is contained in:
parent
c5f4b31023
commit
250f0bf2e8
@ -60,7 +60,7 @@ class LogoutController extends BaseController
|
||||
public function index(Request $request)
|
||||
{
|
||||
$ct = CompanyToken::with('company.tokens')
|
||||
->whereRaw('BINARY `token`= ?', [$request->header('X-API-TOKEN')])
|
||||
->where('token', $request->header('X-API-TOKEN'))
|
||||
->first();
|
||||
|
||||
$ct->company
|
||||
|
Loading…
x
Reference in New Issue
Block a user