Skip to content

Commit

Permalink
logic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentauger committed Dec 4, 2024
1 parent fa518fa commit 0199582
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/Filament/Resources/UserResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static function form(Form $form): Form
Forms\Components\Toggle::make('active')
->label('Activate User')
->dehydrated(false)
->hidden(fn ($record) => $record && !$record->active)
->hidden(fn ($record) => $record && !$record->email_verified_at)
->onColor('success'),
Forms\Components\Actions::make([
Forms\Components\Actions\Action::make('verify_email')
Expand Down
2 changes: 2 additions & 0 deletions config/mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
'password' => env('MAIL_PASSWORD'),
'timeout' => null,
'local_domain' => env('MAIL_EHLO_DOMAIN'),
// todo: required for 7.2 support; remove when laravel fixes.
'scheme' => 'smtp',
],

'ses' => [
Expand Down

0 comments on commit 0199582

Please sign in to comment.