From 27f3b29cf823de0713696bae7ba9beb090b28b77 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 15 Aug 2020 23:37:10 -0600 Subject: [PATCH 1/2] 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/*', From c26e34f3c4848d05d244620fcb3de8f7d0b1918a Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 15 Aug 2020 23:38:08 -0600 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b1a4e57d..d9c23c50c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -88,6 +88,7 @@ - Updated status embed, allow photo albums. Fixes ([#2374](https://github.com/pixelfed/pixelfed/issues/2374)). ([d11fac0d](https://github.com/pixelfed/pixelfed/commit/d11fac0d)) - Updated DiscoverController, fixes ([#2378](https://github.com/pixelfed/pixelfed/issues/2378)). ([8e7f4f9d](https://github.com/pixelfed/pixelfed/commit/8e7f4f9d)) - Updated SearchController, update version. ([8d923d77](https://github.com/pixelfed/pixelfed/commit/8d923d77)) +- Updated email confirmation middleware, add 2FA to allow list. Fixes ([#2385](https://github.com/pixelfed/pixelfed/issues/2385)). ([27f3b29c](https://github.com/pixelfed/pixelfed/commit/27f3b29c)) ## [v0.10.9 (2020-04-17)](https://github.com/pixelfed/pixelfed/compare/v0.10.8...v0.10.9) ### Added