Skip to content

Commit

Permalink
Disable trusted host for now
Browse files Browse the repository at this point in the history
  • Loading branch information
karlomikus committed Nov 30, 2023
1 parent ec0da58 commit 7d9ba43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- You must set the confirmation URL by setting `MAIL_CONFIRM_URL` env variable
- For example: `MAIL_CONFIRM_URL="https://bar.local/confirmation/[id]/[hash]"`
- Added GET `/verify/{id}/{hash}` endpoint
- More information about email settings will be added to docs

## Changes
- Enabled sqlite WAL mode
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Kernel extends HttpKernel
* @var array<int, class-string|string>
*/
protected $middleware = [
\Kami\Cocktail\Http\Middleware\TrustHosts::class,
//\Kami\Cocktail\Http\Middleware\TrustHosts::class,
\Kami\Cocktail\Http\Middleware\TrustProxies::class,
\Illuminate\Http\Middleware\HandleCors::class,
\Kami\Cocktail\Http\Middleware\PreventRequestsDuringMaintenance::class,
Expand Down

0 comments on commit 7d9ba43

Please sign in to comment.