     currentPassword = $(template.findAll 'input.current-password').val()
     newPassword = $(template.findAll 'input.new-password').val()
 
-    passwordFormMessages.setErrorMessage 'Current password is required.', 'current-password' unless currentPassword
+    passwordFormMessages.setErrorMessage "Current password is required.", 'current-password' unless currentPassword
 
     try
       User.validatePassword newPassword, 'new-password'


    if passwordFormMessages.isValid()
      changePassword currentPassword, newPassword, (error) ->
        if error
          passwordFormMessages.setError error
        else
          resetPasswordForm template
          passwordFormMessages.setInfoMessage "Password changed successfully."

    return # Make sure CoffeeScript does not return anything



resetUsernameForm = ->
  usernameFormMessages.resetMessages()
  usernameLastValue = null
  usernameReadyForValidation = false
  usernameFieldModified = false

