Merge pull request #1692 from raguilar127/master

Fix incorrect method override in authentication plugin example
This commit is contained in:
Peter Bieringer 2025-02-07 06:45:48 +00:00 committed by GitHub
commit d79abc2b7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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