]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/ddns/ddns-005-SPDNS-fix-auth.patch
tor: update to 0.2.6.9
[ipfire-2.x.git] / src / patches / ddns / ddns-005-SPDNS-fix-auth.patch
1 commit 25f39b4e437627bd1a49393280271d59ad28b86e
2 Author: Stefan Schantl <stefan.schantl@ipfire.org>
3 Date: 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
11 diff --git a/src/ddns/providers.py b/src/ddns/providers.py
12 index 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):