Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
4a56b240
Commit
4a56b240
authored
Nov 17, 2016
by
neilpang
Browse files
fix check email
parent
7575094c
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_cf.sh
View file @
4a56b240
...
@@ -22,6 +22,12 @@ dns_cf_add() {
...
@@ -22,6 +22,12 @@ dns_cf_add() {
return
1
return
1
fi
fi
if
!
_contains
"
$CF_Email
"
"@"
;
then
_err
"It seems that the CF_Email=
$CF_Email
is not a valid email address."
_err
"Please check and retry."
return
1
fi
#save the api key and email to the account conf file.
#save the api key and email to the account conf file.
_saveaccountconf CF_Key
"
$CF_Key
"
_saveaccountconf CF_Key
"
$CF_Key
"
_saveaccountconf CF_Email
"
$CF_Email
"
_saveaccountconf CF_Email
"
$CF_Email
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment