]> git.ipfire.org Git - oddments/ddns.git/commitdiff
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 587d5fff24fe9025b6bb4e7bc0f5ff192ecb23bd..bcfb088115138c437c6ba74bd69d9ba508d8e748 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):