From 31b23d80ed5f20d78c1eb3af7cc61e0c8ac07755 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Fri, 5 Oct 2018 22:03:31 +0000 Subject: [PATCH] Also change salt function to new API --- plugins/radicale_openauth/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/radicale_openauth/__init__.py b/plugins/radicale_openauth/__init__.py index e923993..f7d887a 100644 --- a/plugins/radicale_openauth/__init__.py +++ b/plugins/radicale_openauth/__init__.py @@ -13,7 +13,7 @@ class Auth(BaseAuth): if user is None: return False - res1 = requests.post(self.get_server() + "/api/login?uid=" + user) + res1 = requests.post(self.get_server() + "/api/login?type=username&uid=" + user) data1 = res1.json() if "error" in data1: