Fix default value for mailgun secret (#552)

This commit is contained in:
Boy132 2024-08-18 16:11:40 +02:00 committed by GitHub
parent 68e24896ae
commit bf23389dba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -298,7 +298,7 @@ class Settings extends Page implements HasForms
TextInput::make('MAILGUN_SECRET') TextInput::make('MAILGUN_SECRET')
->label('Secret') ->label('Secret')
->required() ->required()
->default(env('MAIL_USERNAME', config('services.mailgun.secret'))), ->default(env('MAILGUN_SECRET', config('services.mailgun.secret'))),
TextInput::make('MAILGUN_ENDPOINT') TextInput::make('MAILGUN_ENDPOINT')
->label('Endpoint') ->label('Endpoint')
->required() ->required()