mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-03 09:49:16 +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>");
|
||||
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) == "") {
|
||||
echo _("<font color=\"red\"><b>" . _("MinUID is empty!") . "</b></font>");
|
||||
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