Scores/app/Actions/Fortify/PasswordValidationRules.php
Juan Felipe Zapata Moreno be89d18e74 Init
2025-07-01 10:36:19 -06:00

17 lines
325 B
PHP

<?php namespace App\Actions\Fortify;
use Laravel\Fortify\Rules\Password;
trait PasswordValidationRules
{
/**
* Get the validation rules used to validate passwords.
*
* @return array
*/
protected function passwordRules()
{
return ['required', 'string', 'min:8', 'confirmed'];
}
}