Browse Source

Merge pull request #1889 from apollo13/fix_inwx

Fix inwx account without Mobile TAN
pull/2023/head
neil 6 years ago
committed by GitHub
parent
commit
4420d073bb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      dnsapi/dns_inwx.sh

3
dnsapi/dns_inwx.sh

@ -158,7 +158,8 @@ _inwx_login() {
export _H1
#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
_err "Mobile TAN detected."
_err "Please define a shared secret."

Loading…
Cancel
Save