mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-04 10:19:22 +02:00
added check for host suffix
This commit is contained in:
parent
f3f1deb25b
commit
103dfaedc2
1 changed files with 5 additions and 0 deletions
|
@ -80,6 +80,11 @@ if (chop($suffgroups) == "") {
|
||||||
echo ("\n<br><br><br><a href=\"javascript:history.back()\">" . _("Back to preferences...") . "</a>");
|
echo ("\n<br><br><br><a href=\"javascript:history.back()\">" . _("Back to preferences...") . "</a>");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
if (chop($suffhosts) == "") {
|
||||||
|
echo _("<font color=\"red\"><b>" . _("HostSuffix is empty!") . "</b></font>");
|
||||||
|
echo ("\n<br><br><br><a href=\"javascript:history.back()\">" . _("Back to preferences...") . "</a>");
|
||||||
|
exit;
|
||||||
|
}
|
||||||
if (chop($minUID) == "") {
|
if (chop($minUID) == "") {
|
||||||
echo _("<font color=\"red\"><b>" . _("MinUID is empty!") . "</b></font>");
|
echo _("<font color=\"red\"><b>" . _("MinUID is empty!") . "</b></font>");
|
||||||
echo ("\n<br><br><br><a href=\"javascript:history.back()\">" . _("Back to preferences...") . "</a>");
|
echo ("\n<br><br><br><a href=\"javascript:history.back()\">" . _("Back to preferences...") . "</a>");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue