mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR merged r66670 from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@66942 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
3d93a23f52
commit
3673a604c6
@ -53,7 +53,8 @@ class HTTPResponse extends Object {
|
||||
303,
|
||||
304,
|
||||
305,
|
||||
307
|
||||
307,
|
||||
403
|
||||
);
|
||||
|
||||
protected $statusCode = 200;
|
||||
|
@ -201,7 +201,7 @@ class Security extends Controller {
|
||||
// Audit logging hook
|
||||
if($controller) $controller->extend('permissionDenied', $member);
|
||||
|
||||
Director::redirect("Security/login");
|
||||
Director::redirect("Security/login", 403);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user