File "PasswordValidationRules.php"
Full Path: /home/school/sites/sad3.ayagoz-roo.kz/core/app/Actions/Fortify/PasswordValidationRules.php
File size: 331 bytes
MIME-type: text/x-php
Charset: utf-8
<?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'];
}
}