From 27f3b29cf823de0713696bae7ba9beb090b28b77 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 15 Aug 2020 23:37:10 -0600 Subject: [PATCH] Update email confirmation middleware, add 2FA to allow list. Fixes #2385 --- app/Http/Middleware/EmailVerificationCheck.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Middleware/EmailVerificationCheck.php b/app/Http/Middleware/EmailVerificationCheck.php index f805468cb..50e3da9c7 100644 --- a/app/Http/Middleware/EmailVerificationCheck.php +++ b/app/Http/Middleware/EmailVerificationCheck.php @@ -20,6 +20,7 @@ class EmailVerificationCheck config('pixelfed.enforce_email_verification') && is_null($request->user()->email_verified_at) && !$request->is( + 'i/auth/*', 'i/verify-email', 'log*', 'i/confirm-email/*',