Initial Commit

This commit is contained in:
idevakk
2025-09-28 14:15:18 +05:30
commit 22336fde5b
124 changed files with 17930 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace App\Livewire\Auth;
use Illuminate\Support\Facades\Password;
use Livewire\Attributes\Layout;
use Livewire\Component;
#[Layout('components.layouts.auth')]
class ForgotPassword extends Component
{
public string $email = '';
/**
* Send a password reset link to the provided email address.
*/
public function sendPasswordResetLink(): void
{
$this->validate([
'email' => ['required', 'string', 'email'],
]);
Password::sendResetLink($this->only('email'));
session()->flash('status', __('A reset link will be sent if the account exists.'));
}
}