forked from qo-op/G1BILLET
DEFAULT 2 WORDS SECRETS
This commit is contained in:
parent
2ae501e061
commit
75dba89a1d
@ -23,7 +23,8 @@ if [[ $MONTANT != "daemon" ]]; then
|
||||
STYLE="$2"
|
||||
|
||||
DICE=$(cat $MY_PATH/DICE 2>/dev/null) ## HOW MANY WORDS SECRETS
|
||||
[[ $DICE != ?(-)+([0-9]) ]] && DICE=4
|
||||
[[ $DICE != ?(-)+([0-9]) ]] && DICE=2
|
||||
echo "$DICE WORDS SECRETS (Define length in $MY_PATH/DICE)"
|
||||
|
||||
## CHECK IF STYLE IS EMAIL => astro IPFS G1BILLET
|
||||
if [[ "${STYLE}" =~ ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$ ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user