From 03217d5df3e04cf1718e34fdf71df215dbc4878f Mon Sep 17 00:00:00 2001 From: Beto Cuevas <46721097+efturtle@users.noreply.github.com> Date: Mon, 19 Jun 2023 21:18:10 -0600 Subject: [PATCH 1/3] fix: bug 2fa redirect to unallowed method Bug cause by an input value that tries to do a get request to a post route. after a failure to verify the 2fa code the url in navbar changes to validate2fa which is a post route. - set the input value to static string 'dashboard' --- .gitignore | 1 + CONTRIBUTORS | 1 + resources/views/auth/validate2fa.blade.php | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3200b78feb5..a94eca9fd60 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ monicadump.sql npm-debug.log* php-extensions-*.tar.bz2 yarn-error.log +.vscode \ No newline at end of file diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 42f7ed4b4aa..3c6dfa9bccb 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -60,3 +60,4 @@ Geidson Benicio @geidsonc Maximilian Arzberger @Schlauer-Hax Gregor Bigalke @GregTCLTK Julián Garcés Rodríguez +Alberto Cuevas Ocegueda diff --git a/resources/views/auth/validate2fa.blade.php b/resources/views/auth/validate2fa.blade.php index d69d9db2e9c..55842424072 100644 --- a/resources/views/auth/validate2fa.blade.php +++ b/resources/views/auth/validate2fa.blade.php @@ -3,7 +3,7 @@ @section('content')
- +