add tests batch 20

This commit is contained in:
root
2026-06-09 01:03:53 -04:00
parent 95efb9652e
commit 6be4875c5e
1502 changed files with 13797 additions and 11313 deletions
@@ -9,8 +9,7 @@ class RegistrationCaptchaService
$ip = (string) (request()?->ip() ?? 'unknown');
$ua = (string) (request()?->header('User-Agent') ?? '');
$hash = substr(sha1($ua), 0, 12);
return 'captcha:'.$ip.':'.$hash;
return 'captcha:' . $ip . ':' . $hash;
}
public function generate(?int $length = null): string