diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-06-04 13:42:03 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-06-04 13:42:03 +0000 |
| commit | 37d5d87fa9c1b4f2e9c1ff56aa9a903b04ba45fc (patch) | |
| tree | be498b8eb64e38ccdc3da50901c03039c956fb27 /frontends/php/users.php | |
| parent | b0d70e49ec39c7af96a13144fa6747b1b6eaeb20 (diff) | |
- added constant ZBX_GUEST_USER (Artem)
- added user check on 'guest' to 'history' (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@4231 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 1c435a13..10fef70a 100644 --- a/frontends/php/users.php +++ b/frontends/php/users.php @@ -152,7 +152,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"]!="guest") + if(isset($_REQUEST["password1"]) && $_REQUEST["password1"] == "" && $_REQUEST["alias"]!=ZBX_GUEST_USER) { show_error_message(S_ONLY_FOR_GUEST_ALLOWED_EMPTY_PASSWORD); } |
