cyca/app/Actions/Fortify/PasswordValidationRules.php
Richard Dern 400e3d01f1 Refresh
2022-01-12 00:35:37 +01:00

19 lines
333 B
PHP
Executable File

<?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', new Password(), 'confirmed'];
}
}