Skip to content

Commit 9e449e9

Browse files
VDK-Plugin: login configuration update (#3415)
1 parent 603560c commit 9e449e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/vdk-plugins/vdk-kerberos-auth/src/vdk/plugin/kerberos/kerberos_configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def api_server_kerberos_service_name(self) -> str:
8888
return self.__config.get_value(API_SERVER_KERBEROS_SERVICE_NAME)
8989

9090
def disable_kerberos_plugin(self):
91-
return self.__config.get_value(DISABLE_KERBEROS_LOGIN).lower() == "true"
91+
return self.__config.get_value(DISABLE_KERBEROS_LOGIN)
9292

9393

9494
def add_definitions(config_builder: ConfigurationBuilder) -> None:

projects/vdk-plugins/vdk-oauth-auth/src/vdk/plugin/oauth/oauth_configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def csp_access_token(self):
4444
return self.__config.get_value(CSP_ACCESS_TOKEN)
4545

4646
def disable_oauth_plugin(self):
47-
return self.__config.get_value(DISABLE_OAUTH_LOGIN).lower() == "true"
47+
return self.__config.get_value(DISABLE_OAUTH_LOGIN)
4848

4949

5050
def add_definitions(config_builder: ConfigurationBuilder) -> None:

0 commit comments

Comments
 (0)