feat(service): đổi sản phẩm của dịch vụ, 2FA bắt buộc, đính kèm campaign mail, thu hồi IP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
6315a392c0
commit
a6b641015e
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Support;
|
||||
|
||||
use Illuminate\Validation\Rules\Password;
|
||||
|
||||
class ClientPassword
|
||||
{
|
||||
public const MIN_LENGTH = 12;
|
||||
|
||||
public static function rule(): Password
|
||||
{
|
||||
return Password::min(self::MIN_LENGTH);
|
||||
}
|
||||
|
||||
public static function minMessage(): string
|
||||
{
|
||||
return 'Mật khẩu tối thiểu ' . self::MIN_LENGTH . ' ký tự';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user