diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-10-02 12:19:02 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-10-02 12:19:02 +0200 |
commit | c4403b29ad4db097af528a7f04eea07e0ed320d0 (patch) | |
tree | c7d84fe1c45b7aa35d49312a83f4e7cfdf6af909 /server/helpers/custom-validators/users.js | |
parent | 9f6bae3a9db13bf827f8aaff903aac06ec430903 (diff) | |
download | PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.tar.gz PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.tar.zst PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.zip |
Server: remove useless hash affectations
Diffstat (limited to 'server/helpers/custom-validators/users.js')
-rw-r--r-- | server/helpers/custom-validators/users.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/helpers/custom-validators/users.js b/server/helpers/custom-validators/users.js index 0e92989e5..88fa1592e 100644 --- a/server/helpers/custom-validators/users.js +++ b/server/helpers/custom-validators/users.js | |||
@@ -7,9 +7,9 @@ const constants = require('../../initializers/constants') | |||
7 | const USERS_CONSTRAINTS_FIELDS = constants.CONSTRAINTS_FIELDS.USERS | 7 | const USERS_CONSTRAINTS_FIELDS = constants.CONSTRAINTS_FIELDS.USERS |
8 | 8 | ||
9 | const usersValidators = { | 9 | const usersValidators = { |
10 | isUserPasswordValid: isUserPasswordValid, | 10 | isUserPasswordValid, |
11 | isUserRoleValid: isUserRoleValid, | 11 | isUserRoleValid, |
12 | isUserUsernameValid: isUserUsernameValid | 12 | isUserUsernameValid |
13 | } | 13 | } |
14 | 14 | ||
15 | function isUserPasswordValid (value) { | 15 | function isUserPasswordValid (value) { |