mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 16:23:16 +00:00
Update middleware
This commit is contained in:
parent
4150bed5f0
commit
a9d588e15e
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class EmailVerificationCheck
|
||||||
public function handle($request, Closure $next)
|
public function handle($request, Closure $next)
|
||||||
{
|
{
|
||||||
if ($request->user() &&
|
if ($request->user() &&
|
||||||
config_cache('pixelfed.enforce_email_verification') &&
|
config('pixelfed.enforce_email_verification') &&
|
||||||
is_null($request->user()->email_verified_at) &&
|
is_null($request->user()->email_verified_at) &&
|
||||||
!$request->is(
|
!$request->is(
|
||||||
'i/auth/*',
|
'i/auth/*',
|
||||||
|
|
Loading…
Reference in a new issue