]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/ddns/ddns-005-SPDNS-fix-auth.patch
slang: Update to 2.3.0
[people/pmueller/ipfire-2.x.git] / src / patches / ddns / ddns-005-SPDNS-fix-auth.patch
CommitLineData
635a44bf
SS
1commit 25f39b4e437627bd1a49393280271d59ad28b86e
2Author: Stefan Schantl <stefan.schantl@ipfire.org>
3Date: Mon Jan 5 21:37:55 2015 +0100
4
5 spdns.de: Fix authentication.
6
7 There was a simple copy and paste issue which prevents a
8 correct authentication with username and password against the
9 providers API.
10
11diff --git a/src/ddns/providers.py b/src/ddns/providers.py
12index 587d5ff..bcfb088 100644
13--- a/src/ddns/providers.py
14+++ b/src/ddns/providers.py
15@@ -1271,7 +1271,7 @@ class DDNSProviderSPDNS(DDNSProtocolDynDNS2, DDNSProvider):
16
17 @property
18 def password(self):
19- return self.get("username") or self.token
20+ return self.get("password") or self.token
21
22
23 class DDNSProviderStrato(DDNSProtocolDynDNS2, DDNSProvider):