Allow pa codes to be 3 or 4 digits in length
This commit is contained in:
1 parent
7916e5f2e2
commit
11fc0f4c5b
2 files changed
+2
-2
No files matched your search
@@ -50,7 +50,7 @@ class TrackingMiddleware implements MiddlewareInterface
|
||||
|
||||
const COOKIE_NAME = 'ep_trk';
|
||||
const COOKIE_TTL = 30;
|
||||
const CODE_PATTERN = '([a-z]{4}|PA)\d{4}';
|
||||
const CODE_PATTERN = '([a-z]{4}|PA)\d{3,4}';
|
||||
|
||||
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user