3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00

Issue #2914216: Redirect to dashboard after logging in

This commit is contained in:
Michael Stenta 2017-10-05 15:20:45 -04:00
parent 7abca8dc54
commit 786077d66d

View file

@ -190,7 +190,7 @@ function farm_theme_page_alter(&$page) {
// Display a link to the user login page.
$page['content']['system_main']['login'] = array(
'#type' => 'markup',
'#markup' => '<p>' . l('Login to farmOS', 'user') . '</p>',
'#markup' => '<p>' . l('Login to farmOS', 'user', array('query' => array('destination' => '<front>'))) . '</p>',
);
}
}