From 50b46db563e11ba52a53e3046c23e92878aed395 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 4 Mar 2022 12:18:20 -0600 Subject: [PATCH] fix middleware sorting for authenticating sessions --- .../Session/Middleware/AuthenticatesSessions.php | 8 ++++++++ src/Illuminate/Foundation/Http/Kernel.php | 2 +- src/Illuminate/Session/Middleware/AuthenticateSession.php | 3 ++- tests/Foundation/Http/KernelTest.php | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 src/Illuminate/Contracts/Session/Middleware/AuthenticatesSessions.php diff --git a/src/Illuminate/Contracts/Session/Middleware/AuthenticatesSessions.php b/src/Illuminate/Contracts/Session/Middleware/AuthenticatesSessions.php new file mode 100644 index 000000000000..113f42007022 --- /dev/null +++ b/src/Illuminate/Contracts/Session/Middleware/AuthenticatesSessions.php @@ -0,0 +1,8 @@ +getMiddlewarePriority());