diff options
author | Yaron Yogev <yaronyogev@gmail.com> | 2017-07-31 09:44:17 +0300 |
---|---|---|
committer | Yaron Yogev <yaronyogev@gmail.com> | 2017-07-31 09:44:17 +0300 |
commit | 8ceb922c0ab0f4b9f5a821282efa3a1e39c53765 (patch) | |
tree | e4702e41209f56d3b5bc2a1aa8a3e650de7a6a71 /app/api/responders | |
parent | 6f42e246e99aa390e9b55c62bb47ef2ef556c2e6 (diff) |
remove use of 'password' where possible
Change-Id: I9bd3874d969ffb34278747579a0881b1b6c52c2b
Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
Diffstat (limited to 'app/api/responders')
-rw-r--r-- | app/api/responders/resource/environment_configs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/api/responders/resource/environment_configs.py b/app/api/responders/resource/environment_configs.py index bee6a4d..32e70ad 100644 --- a/app/api/responders/resource/environment_configs.py +++ b/app/api/responders/resource/environment_configs.py @@ -55,7 +55,7 @@ class EnvironmentConfigs(ResponderBase): validate=DataValidate.REGEX, requirement=[regex.IP, regex.HOSTNAME], mandatory=True), - "password": self.require(str, mandatory=True), + "pwd": self.require(str, mandatory=True), "port": self.require(int, True, DataValidate.REGEX, @@ -96,7 +96,7 @@ class EnvironmentConfigs(ResponderBase): validate=DataValidate.REGEX, requirement=[regex.IP, regex.HOSTNAME], mandatory=True), - "password": self.require(str, mandatory=True), + "pwd": self.require(str, mandatory=True), "port": self.require(int, True, validate=DataValidate.REGEX, |