Files
Atomcms-edit/app/Actions/Fortify/Rules/PasswordValidationRules.php
T
2026-05-09 17:32:17 +02:00

20 lines
353 B
PHP
Executable File

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