From 36bfafbc8299ef6c4447d735b3d2e18689143e98 Mon Sep 17 00:00:00 2001 From: Scott Lee Date: Fri, 4 Apr 2025 10:02:16 -0700 Subject: [PATCH] Revert "[newauth] Enable by default" This reverts commit 2e9d2d7ebe9933665a704e29dcb774b80dcc3824. Reason for revert: this is the possible culprit for b/408427309 Original change's description: > [newauth] Enable by default > > Bug: 404613530 > Change-Id: If0a214fe074d7e7591b5d37417ca447525c983b6 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6418563 > Reviewed-by: Yiwei Zhang > Commit-Queue: Allen Li Bug: 404613530, 408427309 No-Presubmit: true No-Tree-Checks: true No-Try: true Change-Id: Ib919b2f3d852709c0e80622b4ad97327ac2ea5bf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6434729 Bot-Commit: Rubber Stamper Reviewed-by: Ben Pastene Reviewed-by: Scott Lee Commit-Queue: Scott Lee --- newauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newauth.py b/newauth.py index 52a89cc3b..5a8cf788c 100644 --- a/newauth.py +++ b/newauth.py @@ -13,7 +13,7 @@ import scm def Enabled() -> bool: """Returns True if new auth stack is enabled.""" - if ExplicitlyDisabled(): + if not EnabledInConfig(): return False if _HasGitcookies(): _PrintGitcookiesWarning()