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

Unified Diff: chrome/browser/resources/chromeos/login/screen_gaia_signin.js

Issue 1115993002: ChromeOS Gaia: SAML password confirmation dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 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/resources/chromeos/login/screen_gaia_signin.js
diff --git a/chrome/browser/resources/chromeos/login/screen_gaia_signin.js b/chrome/browser/resources/chromeos/login/screen_gaia_signin.js
index 0596928ef369f2a2dc603d8030790fc9f12b5a2a..0a7a14462ee22f3c87ce4bcc2aea7261f3f40105 100644
--- a/chrome/browser/resources/chromeos/login/screen_gaia_signin.js
+++ b/chrome/browser/resources/chromeos/login/screen_gaia_signin.js
@@ -648,10 +648,11 @@ login.createScreen('GaiaSigninScreen', 'gaia-signin', function() {
* Invoked when the user has successfully authenticated via SAML, the
* principals API was not used and the auth host needs the user to confirm
* the scraped password.
+ * @param {string} email The authenticated user's e-mail.
* @param {number} passwordCount The number of passwords that were scraped.
* @private
*/
- onAuthConfirmPassword_: function(passwordCount) {
+ onAuthConfirmPassword_: function(email, passwordCount) {
this.loading = true;
Oobe.getInstance().headerHidden = false;
@@ -660,6 +661,7 @@ login.createScreen('GaiaSigninScreen', 'gaia-signin', function() {
if (this.samlPasswordConfirmAttempt_ < 2) {
login.ConfirmPasswordScreen.show(
+ email,
this.samlPasswordConfirmAttempt_,
this.onConfirmPasswordCollected_.bind(this));
} else {

Powered by Google App Engine
This is Rietveld 408576698