Add errror handling on device that use MyKad scanner without driver/services

- Provide download link of the driver in the handling modal
This commit is contained in:
afiq.hamzah
2023-03-08 16:17:08 +08:00
parent def687b3a0
commit 454bf9a931
6 changed files with 223 additions and 176 deletions
+4 -4
View File
@@ -31,10 +31,10 @@ class NoHttpCache
/**
* @var $headers \Symfony\Component\HttpFoundation\HeaderBag
*/
$response->header('Pragma', 'no-cache');
$response->header('Expires', 'Fri, 01 Jan 1990 00:00:00 GMT');
$response->header('Cache-Control', 'no-cache, must-revalidate, no-store, max-age=0, private');
$response->headers->set('Pragma', 'no-cache');
$response->headers->set('Expires', 'Fri, 01 Jan 1990 00:00:00 GMT');
$response->headers->set('Cache-Control', 'no-cache, must-revalidate, no-store, max-age=0, private');
return $response;
}
}
}