Fix redirect back after failing login

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40630 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-08-21 22:05:40 +00:00
parent 5fadf838c0
commit 30fc2e2a50

View File

@ -204,7 +204,6 @@ class Director {
static function redirectBack() {
$url = (isset($_REQUEST['_REDIRECT_BACK_URL'])) ? $_REQUEST['_REDIRECT_BACK_URL'] : $_SERVER['HTTP_REFERER'];
Director::redirect($url);
die();
}
static function currentURLSegment() {