mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR reverted r66670 (see discussion at http://groups.google.com/group/silverstripe-dev/browse_thread/thread/1ed2a3c9224a785c)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@66943 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
40906bc408
commit
1c639c320e
@ -53,8 +53,7 @@ class HTTPResponse extends Object {
|
||||
303,
|
||||
304,
|
||||
305,
|
||||
307,
|
||||
403
|
||||
307
|
||||
);
|
||||
|
||||
protected $statusCode = 200;
|
||||
|
@ -201,7 +201,7 @@ class Security extends Controller {
|
||||
// Audit logging hook
|
||||
if($controller) $controller->extend('permissionDenied', $member);
|
||||
|
||||
Director::redirect("Security/login", 403);
|
||||
Director::redirect("Security/login");
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user