From 948ce07903b9332cece332d25730ceafc8909057 Mon Sep 17 00:00:00 2001 From: Github Actions <> Date: Sun, 3 May 2020 19:03:07 +0000 Subject: [PATCH] Generate documentation --- master.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/master.html b/master.html index edb9a915..19441ad6 100644 --- a/master.html +++ b/master.html @@ -1009,17 +1009,17 @@ user2:password2 def __init__(self, configuration): super().__init__(configuration.copy(PLUGIN_CONFIG_SCHEMA)) - def login(self, user, password): + def login(self, login, password): # Get password from configuration option static_password = self.configuration.get("auth", "password") # Check authentication logger.info("Login attempt by %r with password %r", - user, password) + login, password) if password == static_password: - return user + return login return ""

Install the python module by running the following command in the same folder as setup.py:

-
python3 -m pip install --upgrade .
+
python3 -m pip install .

To make use this great creation in Radicale, set the configuration option type in the auth section to radicale_static_password_auth:

[auth]
 type = radicale_static_password_auth