Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7025)

Unified Diff: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc

Issue 2641453002: Active Directory: Propagate username to online reauth (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
index efacc14e60a9c43138d33aac7a561b9dbacf211b..ba67796a87e464ca63d3bc2191490ac11095afa5 100644
--- a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
@@ -522,11 +522,13 @@ void GaiaScreenHandler::DoAdAuth(const std::string& username,
case authpolicy::ERROR_PASSWORD_EXPIRED:
core_oobe_actor_->ShowActiveDirectoryPasswordChangeScreen(username);
break;
- case authpolicy::ERROR_UNKNOWN:
- case authpolicy::ERROR_DBUS_FAILURE:
case authpolicy::ERROR_PARSE_UPN_FAILED:
case authpolicy::ERROR_BAD_USER_NAME:
case authpolicy::ERROR_BAD_PASSWORD:
+ CallJS("invalidateAd", username);
+ return;
+ case authpolicy::ERROR_UNKNOWN:
+ case authpolicy::ERROR_DBUS_FAILURE:
case authpolicy::ERROR_CANNOT_RESOLVE_KDC:
case authpolicy::ERROR_KINIT_FAILED:
case authpolicy::ERROR_NET_FAILED:

Powered by Google App Engine
This is Rietveld 408576698