mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update email confirmation middleware, add 2FA to allow list. Fixes #2385
This commit is contained in:
parent
5d50729641
commit
27f3b29cf8
1 changed files with 1 additions and 0 deletions
|
@ -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