fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
@@ -9,7 +9,8 @@ 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