summaryrefslogtreecommitdiff
path: root/kvmd/plugins/auth/http.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-04-27 05:16:00 +0300
committerDevaev Maxim <[email protected]>2019-04-27 05:16:00 +0300
commit493d160a6e87120b9f57493cc594f487ef140e90 (patch)
tree12344ac01b7d36a6055b4d22849e335decee2df6 /kvmd/plugins/auth/http.py
parent3476f52da9728995c978394748cec812d554ec2f (diff)
single-shot auth using headers
Diffstat (limited to 'kvmd/plugins/auth/http.py')
-rw-r--r--kvmd/plugins/auth/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/auth/http.py b/kvmd/plugins/auth/http.py
index 18ecaae6..edd7ab96 100644
--- a/kvmd/plugins/auth/http.py
+++ b/kvmd/plugins/auth/http.py
@@ -69,7 +69,7 @@ class Plugin(BaseAuthService):
"timeout": Option(5.0, type=valid_float_f01),
}
- async def login(self, user: str, passwd: str) -> bool:
+ async def authorize(self, user: str, passwd: str) -> bool:
session = self.__ensure_session()
try:
async with session.request(