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