Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
gilour
/
foundation
/
src
/
Auth
/
Fortify
:
PasswordValidationRules.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Common\Auth\Fortify; use Laravel\Fortify\Rules\Password; trait PasswordValidationRules { /** * Get the validation rules used to validate passwords. */ protected function passwordRules(): array { $password = new Password(); $password->length(5); return ['required', 'string', $password, 'confirmed']; } }