fix another typo 0.8.2
authorKevin Dangoor <kdangoor@mozilla.com>
Wed, 14 Jul 2010 15:00:41 -0400
changeset 2025 69ef446ad7688ae1f631b3d8a6d33ca9f92690fd
parent 2024 956e42e69b127e3883df86632a515f6651ef69e7
child 2026 b8f0ba32d9876ebf2e88a44d6723001a0b1043e8
push id908
push userkdangoor@mozilla.com
push dateWed, 14 Jul 2010 19:03:28 +0000
fix another typo
plugins/supported/userident/index.js
--- a/plugins/supported/userident/index.js
+++ b/plugins/supported/userident/index.js
@@ -264,17 +264,17 @@ exports.loginController.prototype = {
                         notifier.notify({
                             plugin: 'userident',
                             notification: 'loginerror',
                             title: 'Reset Password',
                             body: 'The typed passwords do not match.'
                         });
                     } else {
                         var data = searchQuery.pwchange.split(';');
-                        var usename = data[0];
+                        var username = data[0];
                         var hash = data[1];
 
                         exports.changePassword(
                             username, password, hash
                         ).then(function() {
                             // Password sucessfully changed. Log the user in.
                             self._doLogin(pr, username, password);
                         }, function(error) {