     </footer>
     """
 
-  doReset:({recoveryToken, password, clientId})->
+  doReset:({recoveryToken, password})->
     KD.remote.api.JPasswordRecovery.resetPassword recoveryToken, password, (err, username)=>
       @resetForm.button.hideLoader()
       @resetForm.reset()
       @headBanner.hide()
-      @doLogin {username, password, clientId}
+      @doLogin {username, password}
 
   doRecover:(formData)->
     KD.remote.api.JPasswordRecovery.recoverPassword formData['username-or-email'], (err)=>

      cssClass : "login-form"
      testPath : "login-form"
      callback : (formData)=>
        formData.clientId = $.cookie('clientId')
        @doLogin formData

    @registerForm = new RegisterInlineForm

    @resetForm = new ResetInlineForm
      cssClass : "login-form"
      callback : (formData)=>
        @doReset formData

    @headBanner = new KDCustomHTMLView
