aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/signup.ts
diff options
context:
space:
mode:
authorluz paz <luzpaz@pm.me>2022-06-07 09:45:06 -0400
committerChocobozzz <chocobozzz@cpy.re>2022-06-07 16:41:21 +0200
commit7a4fd56ccd86518a6b14c407fc977c7904337448 (patch)
tree6cf30232dff7f1a0740f0d240eb173da033e272b /server/lib/signup.ts
parent6d9ed0b6cb439f53e6df2aa1e751369bdc0f76ab (diff)
downloadPeerTube-7a4fd56ccd86518a6b14c407fc977c7904337448.tar.gz
PeerTube-7a4fd56ccd86518a6b14c407fc977c7904337448.tar.zst
PeerTube-7a4fd56ccd86518a6b14c407fc977c7904337448.zip
Fix various typos
Found via `codespell -q 3 -S ./CREDITS.md,./CHANGELOG.md,./client/src/locale,./yarn.lock,./client/yarn.lock -L doubleclick,followings,nd,ot,ro,serie,splitted,tread,truthy`
Diffstat (limited to 'server/lib/signup.ts')
-rw-r--r--server/lib/signup.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/signup.ts b/server/lib/signup.ts
index 3c1397a12..f094531eb 100644
--- a/server/lib/signup.ts
+++ b/server/lib/signup.ts
@@ -26,7 +26,7 @@ function isSignupAllowedForCurrentIP (ip: string) {
26 const excludeList = [ 'blacklist' ] 26 const excludeList = [ 'blacklist' ]
27 let matched = '' 27 let matched = ''
28 28
29 // if there is a valid, non-empty whitelist, we exclude all unknown adresses too 29 // if there is a valid, non-empty whitelist, we exclude all unknown addresses too
30 if (CONFIG.SIGNUP.FILTERS.CIDR.WHITELIST.filter(cidr => isCidr(cidr)).length > 0) { 30 if (CONFIG.SIGNUP.FILTERS.CIDR.WHITELIST.filter(cidr => isCidr(cidr)).length > 0) {
31 excludeList.push('unknown') 31 excludeList.push('unknown')
32 } 32 }