mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Update DOCUMENTATION.md
Corrected the method override in the authentication plugin example. The original example suggested overriding login(), but BaseAuth expects _login() to be implemented instead. Overriding login() causes a Too many values to unpack error.
This commit is contained in:
parent
c2def71ce6
commit
938f6a97fd
1 changed files with 1 additions and 1 deletions
|
@ -1819,7 +1819,7 @@ class Auth(BaseAuth):
|
|||
def __init__(self, configuration):
|
||||
super().__init__(configuration.copy(PLUGIN_CONFIG_SCHEMA))
|
||||
|
||||
def login(self, login, password):
|
||||
def _login(self, login, password):
|
||||
# Get password from configuration option
|
||||
static_password = self.configuration.get("auth", "password")
|
||||
# Check authentication
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue