added check for logon domain in autoconfig generation
This commit is contained in:
parent
d139c1f2fc
commit
1e27206820
2 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,9 @@ if ($data["path"]) {
|
||||||
if ($email[0] == "emailaddress") {
|
if ($email[0] == "emailaddress") {
|
||||||
$email = $email[1];
|
$email = $email[1];
|
||||||
$email_provided = true;
|
$email_provided = true;
|
||||||
|
if (Core::$Config["LogonDomain"]) {
|
||||||
|
$email = str_ireplace(Core::$Config["Domain"],Core::$Config["LogonDomain"],$email);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
; Set the base domain for use with this service
|
; Set the base domain for use with this service
|
||||||
Domain = example.com
|
Domain = example.com
|
||||||
|
LogonDomain = example.local
|
||||||
|
|
||||||
; Admin User configuration
|
; Admin User configuration
|
||||||
; not in use yet
|
; not in use yet
|
||||||
|
|
Loading…
Reference in a new issue