Captcha : zero has too much rarity

This commit is contained in:
Adrien Bourmault 2021-01-09 00:05:23 +01:00 committed by root
parent 16827ba1ab
commit bbd483e977
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ INTRUS()
SORTED_UNIQ_NUM=$(echo "${NUMBERS[@]}" | sort -u | tr '\n' ' ')
INTRUS=-1
for i in 0 1 2 3 4 5 6 7 8 9
for i in 1 2 3 4 5 6 7 8 9
do
if [[ ! " ${SORTED_UNIQ_NUM[@]} " =~ " ${i} " ]]; then
INTRUS=$i

View File

@ -54,7 +54,7 @@ INTRUS()
SORTED_UNIQ_NUM=$(echo "${NUMBERS[@]}" | sort -u | tr '\n' ' ')
INTRUS=-1
for i in 0 1 2 3 4 5 6 7 8 9
for i in 1 2 3 4 5 6 7 8 9
do
if [[ ! " ${SORTED_UNIQ_NUM[@]} " =~ " ${i} " ]]; then
INTRUS=$i