         "left="  + (windowImpl.screen.width - width)   / 2].join()
 
       url = @urlForLogin()
-      url += '&go=signup' if options.type is 'signup'
+      url += '&go=signup' if options.type is SIGNUP_TYPE
       CURRENT_WINDOW = windowImpl.open(url, 'oxlogin', windowOptions)
 
 

User  = require './model'
api   = require '../api'
classnames = require 'classnames'

CURRENT_WINDOW = undefined

SECOND = 1000


    <div className={classes}>
      <span className="message">
        Please {@getActionText()} in the window. <a data-bypass
          onClick={@openLogin} href={LoginGateway.urlForLogin()}
        >Click to reopen window.</a>
      </span>
