     @resetForm = new ResetInlineForm
       cssClass : "login-form"
       callback : (formData)=>
-        formData.clientId = $.cookie('clientId')
         @doReset formData
 
     @headBanner = new KDCustomHTMLView

    </footer>
    """

  doReset:({recoveryToken, password, clientId})->
    KD.remote.api.JPasswordRecovery.resetPassword recoveryToken, password, (err, username)=>
      @resetForm.button.hideLoader()
      @resetForm.reset()
      @headBanner.hide()
      @doLogin {username, password, clientId}

  doRecover:(formData)->
    KD.remote.api.JPasswordRecovery.recoverPassword formData['username-or-email'], (err)=>

      showError err
      @loginForm.resetDecoration()
    else
      {account} = params
      mainController = KD.getSingleton('mainController')
      mainView       = mainController.mainViewController.getView()
      mainView.show()
      mainView.$().css "opacity", 1

