diff --git a/app/Http/Middleware/EmailVerificationCheck.php b/app/Http/Middleware/EmailVerificationCheck.php index 502f4fd2..f805468c 100644 --- a/app/Http/Middleware/EmailVerificationCheck.php +++ b/app/Http/Middleware/EmailVerificationCheck.php @@ -19,7 +19,13 @@ class EmailVerificationCheck if ($request->user() && config('pixelfed.enforce_email_verification') && is_null($request->user()->email_verified_at) && - !$request->is('i/verify-email', 'log*', 'i/confirm-email/*', 'settings/home') + !$request->is( + 'i/verify-email', + 'log*', + 'i/confirm-email/*', + 'settings/home', + 'settings/email' + ) ) { return redirect('/i/verify-email'); }