1
0
mirror of https://github.com/robonen/metr.git synced 2026-03-20 10:54:41 +00:00
Files
metr/app/Actions/Fortify/PasswordValidationRules.php
2022-04-29 08:53:19 +07:00

19 lines
331 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', new Password, 'confirmed'];
}
}