             else
               @afterLoginCallback err, {account, replacementToken}
               KD.mixpanel "Github auth login, success"
+
 
   viewAppended:->
 

        @goToRecoverLink.hide()
        @github.hide()

  getRouteWithEntryPoint:(route)->
    {entryPoint} = KD.config
    if entryPoint and entryPoint.slug isnt KD.defaultSlug

      partial    : ".kdview.login-screen:after { background-image : url('#{bgImageUrl}')}"
    }).getElement()


  constructor:(options = {}, data)->

    options.cssClass = 'login-screen login'
