From 7bf615c2f247a06a186731f954d1ab88ac89135c Mon Sep 17 00:00:00 2001 From: Sergey Zonov Date: Thu, 4 Aug 2022 14:49:49 +0700 Subject: [PATCH] ref #7 fixed form action in two-factor-challenge blade --- resources/views/auth/two-factor-challenge.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/auth/two-factor-challenge.blade.php b/resources/views/auth/two-factor-challenge.blade.php index 29b081f..64c9a33 100644 --- a/resources/views/auth/two-factor-challenge.blade.php +++ b/resources/views/auth/two-factor-challenge.blade.php @@ -16,7 +16,7 @@ data-turbo="{{ var_export(Str::startsWith(request()->path(), config('platform.prefix'))) }}" data-form-button-animate="#button-login" data-form-button-text="{{ __('Loading...') }}" - action="{{ url('two-factor-challenge') }}"> + action="{{ route('two-factor.login') }}"> @csrf