mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 14:58:43 +01:00
fix for http auth
This commit is contained in:
parent
2d96794df0
commit
f883269cfc
@ -35,7 +35,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$phpgw_info["server"]["template_dir"] = PHPGW_SERVER_ROOT."/phpgwapi/templates/default";
|
$phpgw_info["server"]["template_dir"] = PHPGW_SERVER_ROOT."/phpgwapi/templates/default";
|
||||||
// $tmpl = new Template($phpgw_info["server"]["template_dir"]);
|
|
||||||
$tmpl = CreateObject("phpgwapi.Template", $phpgw_info["server"]["template_dir"]);
|
$tmpl = CreateObject("phpgwapi.Template", $phpgw_info["server"]["template_dir"]);
|
||||||
|
|
||||||
if (! $deny_login && ! $phpgw_info["server"]["show_domain_selectbox"]) {
|
if (! $deny_login && ! $phpgw_info["server"]["show_domain_selectbox"]) {
|
||||||
@ -95,7 +94,7 @@
|
|||||||
deny_login();
|
deny_login();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($PHP_AUTH_USER)) {
|
if ($phpgw_info["server"]["auth_type"] == "http" && isset($PHP_AUTH_USER)) {
|
||||||
$submit = True;
|
$submit = True;
|
||||||
$login = $PHP_AUTH_USER;
|
$login = $PHP_AUTH_USER;
|
||||||
$passwd = $PHP_AUTH_PW;
|
$passwd = $PHP_AUTH_PW;
|
||||||
|
Loading…
Reference in New Issue
Block a user