mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
test recaptcha
This commit is contained in:
@@ -5,6 +5,7 @@ namespace App\Http\Controllers\Accounts;
|
||||
use App\Classes\Modules\Accounts\ControllersLogic\AuthenticateUserLogic;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use TimeHunter\LaravelGoogleReCaptchaV3\Facades\GoogleReCaptchaV3;
|
||||
|
||||
class UserAuthenticationController
|
||||
@@ -16,7 +17,7 @@ class UserAuthenticationController
|
||||
* @return JsonResponse
|
||||
*/
|
||||
public function authenticate(Request $request, AuthenticateUserLogic $logic): JsonResponse {
|
||||
dd(GoogleReCaptchaV3::verifyResponse($request->input('gRecaptchaResponse')));
|
||||
Log::info(GoogleReCaptchaV3::verifyResponse($request->input('gRecaptchaResponse')));
|
||||
return $logic->execute($request);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user