Skip to content

Commit

Permalink
Set title for welcome page
Browse files Browse the repository at this point in the history
  • Loading branch information
alexPopaCode4 committed Jan 10, 2025
1 parent 5ca215e commit 2f96231
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/Livewire/Welcome.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use Filament\Http\Responses\Auth\Contracts\LoginResponse;
use Filament\Pages\Concerns\InteractsWithFormActions;
use Filament\Pages\SimplePage;
use Illuminate\Contracts\Support\Htmlable;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Validation\ValidationException;
Expand Down Expand Up @@ -55,6 +56,11 @@ public function mount(Request $request): void
]);
}

public function getTitle(): string|Htmlable
{
return __('auth.set_password');
}

public function handle(): ?LoginResponse
{
try {
Expand Down

0 comments on commit 2f96231

Please sign in to comment.