git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@66943 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-11-28 05:29:52 +00:00
parent 40906bc408
commit 1c639c320e
2 changed files with 4 additions and 5 deletions

View File

@ -53,8 +53,7 @@ class HTTPResponse extends Object {
303, 303,
304, 304,
305, 305,
307, 307
403
); );
protected $statusCode = 200; protected $statusCode = 200;

View File

@ -201,7 +201,7 @@ class Security extends Controller {
// Audit logging hook // Audit logging hook
if($controller) $controller->extend('permissionDenied', $member); if($controller) $controller->extend('permissionDenied', $member);
Director::redirect("Security/login", 403); Director::redirect("Security/login");
} }
return; return;
} }