mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
fixed not working forward of not loged in users after login to the original address
This commit is contained in:
parent
3397b87aad
commit
e0e16ab18d
@ -36,7 +36,6 @@
|
||||
Header('Location: setup/index.php');
|
||||
exit;
|
||||
}
|
||||
|
||||
$GLOBALS['egw_info']['server']['template_dir'] = EGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['egw_info']['login_template_set'];
|
||||
$tmpl = CreateObject('phpgwapi.Template', $GLOBALS['egw_info']['server']['template_dir']);
|
||||
|
||||
@ -343,6 +342,6 @@
|
||||
* And if the register link must be placed *
|
||||
\********************************************************/
|
||||
|
||||
parse_login_screen();
|
||||
parse_login_screen($extra_vars);
|
||||
|
||||
?>
|
||||
|
@ -42,7 +42,7 @@
|
||||
</tr>';
|
||||
}
|
||||
|
||||
function parse_login_screen()
|
||||
function parse_login_screen($extra_vars)
|
||||
{
|
||||
$tmpl = CreateObject('phpgwapi.Template', $GLOBALS['egw_info']['server']['template_dir']);
|
||||
$tmpl->set_file(array('login_form' => 'login.tpl'));
|
||||
|
Loading…
Reference in New Issue
Block a user