Sindbad~EG File Manager

Current Path : /var/www/html/performance.sumar.com.py/vendor/laravel/fortify/stubs/
Upload File :
Current File : /var/www/html/performance.sumar.com.py/vendor/laravel/fortify/stubs/ResetUserPassword.php

<?php

namespace App\Actions\Fortify;

use App\Models\User;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Laravel\Fortify\Contracts\ResetsUserPasswords;

class ResetUserPassword implements ResetsUserPasswords
{
    use PasswordValidationRules;

    /**
     * Validate and reset the user's forgotten password.
     *
     * @param  array<string, string>  $input
     */
    public function reset(User $user, array $input): void
    {
        Validator::make($input, [
            'password' => $this->passwordRules(),
        ])->validate();

        $user->forceFill([
            'password' => Hash::make($input['password']),
        ])->save();
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists