mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 01:10:42 +08:00
Fix autoload runtime to return 403 on Auth failure
This commit is contained in:
parent
0b4d31e64d
commit
072c9228dd
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ if (!empty($legacyRoute)) {
|
|||
|
||||
$access = $legacyRoute['access'] ?? false;
|
||||
if ($access === false) {
|
||||
http_response_code(404);
|
||||
http_response_code(403);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue