mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Set ID of lostpassword page to -1 so we don't get top level pages
as its children git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@62107 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
000749a9d7
commit
ea84cb5a61
@ -334,6 +334,7 @@ class Security extends Controller {
|
||||
$tmpPage = new Page();
|
||||
$tmpPage->Title = _t('Security.LOSTPASSWORDHEADER', 'Lost Password');
|
||||
$tmpPage->URLSegment = 'Security';
|
||||
$tmpPage->ID = -1; // Set the page ID to -1 so we dont get the top level pages as its children
|
||||
$controller = new Page_Controller($tmpPage);
|
||||
$controller->init();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user