Update email confirmation middleware, add 2FA to allow list. Fixes #2385
This commit is contained in:
parent
5d50729641
commit
27f3b29cf8
|
@ -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/*',
|
||||
|
|
Loading…
Reference in a new issue