TODO AKE DOUBLE AUTH.... !!! before creating account.

This commit is contained in:
qo-op 2020-05-29 03:04:34 +02:00
parent 436e23d691
commit e273f9ca95
1 changed files with 5 additions and 1 deletions

View File

@ -60,12 +60,16 @@ for hashfile in /tmp/loveland_entrance/*; do
if [[ ! -f /home/$YOU/.zen/g1sms/$PHONE/_pub ]]; then
# PHONE IS UNKNOWN !
sms_SEND "$PHONE" "COUCOU"
## TODO AKE DOUBLE AUTH.... !!! before creating account.
# CHECK for Associated PARRAIN. GET PubKey?
PARRAIN=$(echo "$PARRAIN" | grep -E "([A-Za-z0-9\-\_]+$)")
#[[ $PARRAIN ]] && MEMRIB=$(sms_uid2key "$PARRAIN" "$PHONE" "$PIN") && echo "RIB PARRAIN: $MEMRIB"
# CREATE G1 WALLET
$MY_PATH/sms_NEW.sh "$PHONE" "$PARRAIN"
#$MY_PATH/sms_NEW.sh "$PHONE" "$PARRAIN"
else
# ACCOUNT ALREADY EXISTING