Call method authenticate from Login Class Filament

What I am trying to do:
I want to use method authenticate() from Login Class filament in my custom view.

What I did:
I was create new page using command php artisan make:filament-page Auth/CustomLogin
and then created 2 file:
app/Filament/Pages/Auth/CustomPage.php (for class)
<?php

namespace App\Filament\Pages\Auth;

use Filament\Pages\Auth\Login as BaseLogin;

class CustomLogin extends BaseLogin
{

protected static string $view = 'filament.pages.auth.custom-login';

protected static string $layout = 'filament.pages.auth.custom-login';
}



resources/views/filament/pages/auth/custom-page.blade.php (for view)
@extends('layouts.app')
@section('title', 'Login')

@section('content')
<div class="flex items-center justify-center h-screen">
{{-- {{dd($this)}} --}}
<form wire:submit={{$this->authenticate()}}>
@csrf
<input type="text" wire:model="email" placeholder="Email">
@error('email') <span class="error">{{ $message }}</span> @enderror

<input type="password" wire:model="password" placeholder="Password">
@error('password') <span class="error">{{ $message }}</span> @enderror

<button type="submit">Send</button>
</form>

</div>
@endsection

but, I getting this error.. where did I go wrong?
image.png
Was this page helpful?