mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
Shift automatically applies the Laravel coding style - which uses the PSR-12 coding style as a base with some minor additions. You may customize the code style applied by configuring [Pint](https://laravel.com/docs/pint), [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer), or [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) for your project root. For more information on customizing the code style applied by Shift, [watch this short video](https://laravelshift.com/videos/shift-code-style).
82 lines
2.6 KiB
PHP
82 lines
2.6 KiB
PHP
<?php
|
|
|
|
use Laravel\Jetstream\Features;
|
|
use Laravel\Jetstream\Http\Middleware\AuthenticateSession;
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Jetstream Stack
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| This configuration value informs Jetstream which "stack" you will be
|
|
| using for your application. In general, this value is set for you
|
|
| during installation and will not need to be changed after that.
|
|
|
|
|
*/
|
|
|
|
'stack' => 'livewire',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Jetstream Route Middleware
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here you may specify which middleware Jetstream will assign to the routes
|
|
| that it registers with the application. When necessary, you may modify
|
|
| these middleware; however, this default value is usually sufficient.
|
|
|
|
|
*/
|
|
|
|
'middleware' => ['web'],
|
|
|
|
'auth_session' => AuthenticateSession::class,
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Jetstream Guard
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here you may specify the authentication guard Jetstream will use while
|
|
| authenticating users. This value should correspond with one of your
|
|
| guards that is already present in your "auth" configuration file.
|
|
|
|
|
*/
|
|
|
|
'guard' => 'sanctum',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Features
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Some of Jetstream's features are optional. You may disable the features
|
|
| by removing them from this array. You're free to only remove some of
|
|
| these features or you can even remove all of these if you need to.
|
|
|
|
|
*/
|
|
|
|
'features' => [
|
|
Features::termsAndPrivacyPolicy(),
|
|
Features::profilePhotos(),
|
|
// Features::api(),
|
|
Features::teams(['invitations' => true]),
|
|
Features::accountDeletion(),
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Profile Photo Disk
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| This configuration value determines the default disk that will be used
|
|
| when storing profile photos for your application's users. Typically
|
|
| this will be the "public" disk but you may adjust this if needed.
|
|
|
|
|
*/
|
|
|
|
'profile_photo_disk' => 'public',
|
|
|
|
];
|