Skip to content

Commit

Permalink
Merge branch 'release-v6' of github.com:inex/IXP-Manager into release-v6
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed Jul 14, 2021
2 parents 55b1e37 + 99bdeb3 commit 9b2d237
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Http/Middleware/ApiMaybeAuthenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ public function handle( Request $r, Closure $next )
}

// Check if default customer is disabled
if( Auth::user()->customer()->active()->notDeleted()->doesntExist() ){
return response( ucfirst( config( 'ixp_fe.lang.customer.one' ) ) . ' of the user is disabled', 403 );
}
#if( Auth::user()->customer()->active()->notDeleted()->doesntExist() ){
# return response( ucfirst( config( 'ixp_fe.lang.customer.one' ) ) . ' of the user is disabled', 403 );
#}

return $next( $r );
}
Expand Down

0 comments on commit 9b2d237

Please sign in to comment.