diff --git a/xinference/api/restful_api.py b/xinference/api/restful_api.py index db27110872..76cc890519 100644 --- a/xinference/api/restful_api.py +++ b/xinference/api/restful_api.py @@ -169,7 +169,7 @@ def init_auth_config(auth_config_file: Optional[str]): ) for user in config.user_config: user.password = get_password_hash(user.password) - common.XINFERENCE_OAUTH2_CONFIG = config + common.XINFERENCE_OAUTH2_CONFIG = config # type: ignore return config def is_authenticated(self):