Commit fb816c76 authored by xiyuan@chromium.org's avatar xiyuan@chromium.org

[ChromeOS] Fix a problem that Gaia shows up on every bad auth.

Gaia should only show up after 3 bad auth attempts.

BUG=chromium-os:19248
TEST=Verify fix for chromium-os:19248.


Review URL: http://codereview.chromium.org/7670014

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97099 0039d316-1c4b-4281-b951-d872f2087c98
parent febbbb57
......@@ -126,8 +126,9 @@ cr.define('login', function() {
* @param {boolean} takeFocus True to take focus.
*/
reset: function(takeFocus) {
// Reload and show the sign-in UI.
Oobe.showSigninUI();
// Reload and show the sign-in UI if needed.
if (takeFocus)
Oobe.showSigninUI();
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment