Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
4420d073
Unverified
Commit
4420d073
authored
Jan 07, 2019
by
neil
Committed by
GitHub
Jan 07, 2019
Browse files
Merge pull request #1889 from apollo13/fix_inwx
Fix inwx account without Mobile TAN
parents
0483d841
26421684
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_inwx.sh
View file @
4420d073
...
@@ -158,7 +158,8 @@ _inwx_login() {
...
@@ -158,7 +158,8 @@ _inwx_login() {
export
_H1
export
_H1
#https://github.com/inwx/php-client/blob/master/INWX/Domrobot.php#L71
#https://github.com/inwx/php-client/blob/master/INWX/Domrobot.php#L71
if
_contains
"
$response
"
"tfa"
;
then
if
_contains
"
$response
"
"<member><name>code</name><value><int>1000</int></value></member>"
\
&&
_contains
"
$response
"
"<member><name>tfa</name><value><string>GOOGLE-AUTH</string></value></member>"
;
then
if
[
-z
"
$INWX_Shared_Secret
"
]
;
then
if
[
-z
"
$INWX_Shared_Secret
"
]
;
then
_err
"Mobile TAN detected."
_err
"Mobile TAN detected."
_err
"Please define a shared secret."
_err
"Please define a shared secret."
...
...
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