diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-04-25 16:05:32 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-04-25 16:05:32 +0000 |
| commit | 96c8765eb19e1dc34d16ab6ac9260b572c6e1aba (patch) | |
| tree | a34e9489f965d91c6550721542199a9ef966d51c /frontends/php/users.php | |
| parent | 26c11b74017649a63f34e2aeec68f946c6058a6c (diff) | |
| download | zabbix-96c8765eb19e1dc34d16ab6ac9260b572c6e1aba.tar.gz zabbix-96c8765eb19e1dc34d16ab6ac9260b572c6e1aba.tar.xz zabbix-96c8765eb19e1dc34d16ab6ac9260b572c6e1aba.zip | |
- [DEV-145] added Ldap authentication (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5657 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/users.php')
| -rw-r--r-- | frontends/php/users.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/users.php b/frontends/php/users.php index 381dbb66..d67bef1f 100644 --- a/frontends/php/users.php +++ b/frontends/php/users.php @@ -153,7 +153,7 @@ include_once "include/page_header.php"; $_REQUEST["password1"] = get_request("password1", null); $_REQUEST["password2"] = get_request("password2", null); - if(isset($_REQUEST["password1"]) && $_REQUEST["password1"] == "" && $_REQUEST["alias"]!=ZBX_GUEST_USER){ + if(isset($_REQUEST["password1"]) && empty($_REQUEST["password1"]) && $_REQUEST["alias"]!=ZBX_GUEST_USER){ show_error_message(S_ONLY_FOR_GUEST_ALLOWED_EMPTY_PASSWORD); } else if($_REQUEST["password1"]!=$_REQUEST["password2"]){ |
