diff --git a/browserid/static/dialog/controllers/authenticate_controller.js b/browserid/static/dialog/controllers/authenticate_controller.js index 4d62b095a21b7ccfea1179eb1fd43a749f013487..6bd787e657bd57e878cf396a92b63bf570371bdf 100644 --- a/browserid/static/dialog/controllers/authenticate_controller.js +++ b/browserid/static/dialog/controllers/authenticate_controller.js @@ -102,7 +102,7 @@ if (authenticated) { self.close("authenticate:authenticated"); } else { - self.find("#nosuchaccount").hide().fadeIn(400); + self.find("#cannotAuthenticate").hide().fadeIn(400); } }, self.getErrorDialog(BrowserIDErrors.authentication)); } diff --git a/browserid/static/dialog/style.css b/browserid/static/dialog/style.css index 7d39089ccf5dc2ec0e6b9378658f4315129ba16e..8c40057db32ddf336d06de78f3424805e330a90d 100644 --- a/browserid/static/dialog/style.css +++ b/browserid/static/dialog/style.css @@ -180,7 +180,7 @@ div.content > div.summary { padding: 0 .4em 0 .4em; } -#createContainer, #passwordContainer, #nosuchaccount { +#createContainer, #passwordContainer, #cannotAuthenticate { display: none; } diff --git a/browserid/static/dialog/views/authenticate.ejs b/browserid/static/dialog/views/authenticate.ejs index 1423bd12ae0341c826bc2dde676c140596ef63b6..1e2338d33c6cb859bf7c32930340406d7b36b0b3 100644 --- a/browserid/static/dialog/views/authenticate.ejs +++ b/browserid/static/dialog/views/authenticate.ejs @@ -22,7 +22,7 @@ <a href="#" id="authenticate">Sign In</a> </div> - <div id="nosuchaccount"> + <div id="cannotAuthenticate"> The account cannot be logged in with this username and password. </div>