From b3e86cbf456de22b4f495d55c023c5491bf7ea5c Mon Sep 17 00:00:00 2001 From: AmirHosein Rahimi Date: Sat, 30 Sep 2023 21:41:14 +0330 Subject: [PATCH] fix: logout --- resources/views/index.blade.php | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index 6e60c0b..115ee69 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -90,21 +90,25 @@ class="fa-light fa-times">

@if (strtolower($config['logout']['method']) == 'post') - - - Logout - +
@csrf
@else - - - Logout + + @endif