diff --git a/common/djangoapps/student/helpers.py b/common/djangoapps/student/helpers.py index 73fae504a748..8f3fcbe96bcc 100644 --- a/common/djangoapps/student/helpers.py +++ b/common/djangoapps/student/helpers.py @@ -383,7 +383,7 @@ def destroy_oauth_tokens(user): dop_access_query = dop_access_token.objects.filter(user=user.id) dop_refresh_query = dop_refresh_token.objects.filter(user=user.id) - if not settings.FEATURES.get('KEEP_TRUSTED_CONFIDENTIAL_CLIENT_TOKENS', True): + if not settings.FEATURES.get('KEEP_TRUSTED_CONFIDENTIAL_CLIENT_TOKENS', False): # Appsembler: Avoid deleting the trusted confidential clients such as the Appsembler Management Console trusted_clients = Client.objects.filter( client_type=CONFIDENTIAL,