mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
17 lines
310 B
PHP
17 lines
310 B
PHP
<?php
|
|
|
|
namespace App\Actions\Fortify;
|
|
|
|
use Laravel\Fortify\Rules\Password;
|
|
|
|
trait PasswordValidationRules
|
|
{
|
|
/**
|
|
* Get the validation rules used to validate passwords.
|
|
*/
|
|
protected function passwordRules(): array
|
|
{
|
|
return ['required', 'string', new Password, 'confirmed'];
|
|
}
|
|
}
|