spdns.de: Fix authentication.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 5 Jan 2015 20:37:55 +0000 (21:37 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Mon, 5 Jan 2015 20:37:55 +0000 (21:37 +0100)
There was a simple copy and paste issue which prevents a
correct authentication with username and password against the
providers API.

src/ddns/providers.py

index 587d5ff..bcfb088 100644 (file)
@@ -1271,7 +1271,7 @@ class DDNSProviderSPDNS(DDNSProtocolDynDNS2, DDNSProvider):
 
        @property
        def password(self):
-               return self.get("username") or self.token
+               return self.get("password") or self.token
 
 
 class DDNSProviderStrato(DDNSProtocolDynDNS2, DDNSProvider):