codecombat/app/views/core/CreateAccountModal/SingleSignOnAlreadyExistsView.coffee

21 lines
550 B
CoffeeScript
Raw Normal View History

2016-06-30 18:32:58 -04:00
CocoView = require 'views/core/CocoView'
2016-06-07 17:51:41 -04:00
template = require 'templates/core/create-account-modal/single-sign-on-already-exists-view'
forms = require 'core/forms'
User = require 'models/User'
2016-06-30 18:32:58 -04:00
module.exports = class SingleSignOnAlreadyExistsView extends CocoView
2016-06-07 17:51:41 -04:00
id: 'single-sign-on-already-exists-view'
template: template
events:
'click .back-button': 'onClickBackButton'
2016-06-30 18:32:58 -04:00
initialize: ({ @signupState }) ->
2016-06-07 17:51:41 -04:00
onClickBackButton: ->
2016-06-30 18:32:58 -04:00
@signupState.set {
2016-06-07 17:51:41 -04:00
ssoUsed: undefined
ssoAttrs: undefined
}
2016-06-30 18:32:58 -04:00
@trigger('nav-back')