mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
refactoring
This commit is contained in:
@@ -63,7 +63,7 @@ class Plugin(BaseAuthService):
|
||||
"service": Option("login"),
|
||||
"allow_users": Option([], type=valid_users_list),
|
||||
"deny_users": Option([], type=valid_users_list),
|
||||
"allow_uids_at": Option(0, type=valid_int_f0),
|
||||
"allow_uids_at": Option(0, type=valid_int_f0),
|
||||
}
|
||||
|
||||
async def authorize(self, user: str, passwd: str) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user