Bug fix for TwoFactorController

This commit is contained in:
David Bomba 2021-02-24 10:00:51 +11:00
parent 309acd1284
commit d1044a861e
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ class TwoFactorController extends BaseController
$secret = $google2fa->generateSecretKey();
$qr_code = $google2fa->getQRCodeGoogleUrl(
config('ninja.app_name')
config('ninja.app_name'),
$user->email,
$secret
);

View File

@ -177,6 +177,6 @@ Route::match(['get', 'post'], 'payment_webhook/{company_key}/{company_gateway_id
->middleware(['guest', 'api_db'])
->name('payment_webhook');
Route::post('postmark_webhook', 'PostMarkController@webhook');
Route::post('api/v1/postmark_webhook', 'PostMarkController@webhook');
Route::fallback('BaseController@notFound');