mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 06:32:40 +01:00
Merge pull request #4980 from turbo124/v5-develop
Bug fix for TwoFactorController
This commit is contained in:
commit
811d22c5cf
@ -31,7 +31,7 @@ class TwoFactorController extends BaseController
|
|||||||
$secret = $google2fa->generateSecretKey();
|
$secret = $google2fa->generateSecretKey();
|
||||||
|
|
||||||
$qr_code = $google2fa->getQRCodeGoogleUrl(
|
$qr_code = $google2fa->getQRCodeGoogleUrl(
|
||||||
config('ninja.app_name')
|
config('ninja.app_name'),
|
||||||
$user->email,
|
$user->email,
|
||||||
$secret
|
$secret
|
||||||
);
|
);
|
||||||
|
@ -177,6 +177,6 @@ Route::match(['get', 'post'], 'payment_webhook/{company_key}/{company_gateway_id
|
|||||||
->middleware(['guest', 'api_db'])
|
->middleware(['guest', 'api_db'])
|
||||||
->name('payment_webhook');
|
->name('payment_webhook');
|
||||||
|
|
||||||
Route::post('postmark_webhook', 'PostMarkController@webhook');
|
Route::post('api/v1/postmark_webhook', 'PostMarkController@webhook');
|
||||||
|
|
||||||
Route::fallback('BaseController@notFound');
|
Route::fallback('BaseController@notFound');
|
||||||
|
Loading…
Reference in New Issue
Block a user