From 4d89c4ebee68a1fdab59b205853272fee140ae10 Mon Sep 17 00:00:00 2001 From: Tony Lea Date: Fri, 17 May 2024 21:08:05 -0400 Subject: [PATCH] Adding a few more updates and fixing the todos --- public/img/favicon.ico | Bin 0 -> 4286 bytes .../views/components/layouts/setup.blade.php | 15 ++++++++------- .../pages/auth/two-factor-challenge.blade.php | 4 +++- 3 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 public/img/favicon.ico diff --git a/public/img/favicon.ico b/public/img/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..b275d4a755fbaeb3727ab303f925b421cdd30931 GIT binary patch literal 4286 zcmchZU5Hgx7>4)Ju|27EMo}3dnw1x6kUAk66f^?{MIe!p^n+AH7X|(x26dxHDZ&UU z67ReaybvPsuFPmgu`bF?z0r$mJ`qz0^Au8}PVSyp&IgMvgu zQ)v7Y9E1_@xqXyRG36-tc4{8YwnGzqzSO83<=zLksty`F1IHmXU&?=snw6j)H=|C9 zHo>2enxmaxwGEgCHzM7$cFX&45!%g@ieIL7H_V3d?hoayffXaFCv8DD?_80$W?2Y!O}&<&F2`~=RzVrZwWBfY#7bI0wqz0%K_^!LPyl4r0%QveZ{+UIV^^i*OCR?r-d0 zVE~Rqe)ZNIDd{^q3Et-l_N%GnmcP#UFsucwwIAU;Xzh6)AJyBR3+5>G;28qX*Qn1o z2gakxB@H! zPeGskX9$o|AYc&BFI&%WE=U@`hpX^A`~t^eFX&z*t&g4X7wG=IpJ4|`DG)I5d>^%+ zH-PIk49)Lxjav7qU%VQ2af2GCmEL!0Y1C@CQgK5HN^qV*3=ac_3+heFH-RxF%(POrG!e*RjjzK~RiHTpSw7&Ek><`cxr?YRY`>2YkMz!jp zUh1jd{*J;NCA~it*BN&|JOod`I`|CKr`^3MN4cs|t$L`Jda8H)j^=XQnnI@DF&{wH zcP`(Dpna*_iIVo*qwp1I-HHA12>5=)oN(!P$gUQ$Z%V~*Pf;}MMKL(JC>phbhr4+s z%lcS2JuL2evr(%zEvwtxS#F!5&vNUXo?BOEZr#w?mD}{*+&V&Tcf69@r2gD$gV4w= P6WJ)P&!ss>`ilPm{-y*S literal 0 HcmV?d00001 diff --git a/resources/views/components/layouts/setup.blade.php b/resources/views/components/layouts/setup.blade.php index 94b563d..664d338 100644 --- a/resources/views/components/layouts/setup.blade.php +++ b/resources/views/components/layouts/setup.blade.php @@ -131,7 +131,6 @@ class="flex absolute top-0 left-0 px-3 z-[99] ease-in-out flex-col w-screen h-s
-
- - - - - - + + + + + + +
@@ -168,6 +168,7 @@ class="flex absolute top-0 left-0 px-3 z-[99] ease-in-out flex-col w-screen h-s
+
diff --git a/resources/views/pages/auth/two-factor-challenge.blade.php b/resources/views/pages/auth/two-factor-challenge.blade.php index bf98a47..62bace5 100644 --- a/resources/views/pages/auth/two-factor-challenge.blade.php +++ b/resources/views/pages/auth/two-factor-challenge.blade.php @@ -12,7 +12,9 @@ use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\Auth; -middleware(['two-factor-challenged', 'throttle:5,1']); +if(!isset($_GET['preview']) || (isset($_GET['preview']) && $_GET['preview'] != true) || !app()->isLocal()){ + middleware(['two-factor-challenged', 'throttle:5,1']); +} name('auth.two-factor-challenge'); new class extends Component