aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/custom-validators/users.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-10-02 12:19:02 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-10-02 12:19:02 +0200
commitc4403b29ad4db097af528a7f04eea07e0ed320d0 (patch)
treec7d84fe1c45b7aa35d49312a83f4e7cfdf6af909 /server/helpers/custom-validators/users.js
parent9f6bae3a9db13bf827f8aaff903aac06ec430903 (diff)
downloadPeerTube-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.js6
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')
7const USERS_CONSTRAINTS_FIELDS = constants.CONSTRAINTS_FIELDS.USERS 7const USERS_CONSTRAINTS_FIELDS = constants.CONSTRAINTS_FIELDS.USERS
8 8
9const usersValidators = { 9const usersValidators = {
10 isUserPasswordValid: isUserPasswordValid, 10 isUserPasswordValid,
11 isUserRoleValid: isUserRoleValid, 11 isUserRoleValid,
12 isUserUsernameValid: isUserUsernameValid 12 isUserUsernameValid
13} 13}
14 14
15function isUserPasswordValid (value) { 15function isUserPasswordValid (value) {