mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-11 00:02:19 -05:00
20 lines
550 B
CoffeeScript
20 lines
550 B
CoffeeScript
CocoView = require 'views/core/CocoView'
|
|
template = require 'templates/core/create-account-modal/single-sign-on-already-exists-view'
|
|
forms = require 'core/forms'
|
|
User = require 'models/User'
|
|
|
|
module.exports = class SingleSignOnAlreadyExistsView extends CocoView
|
|
id: 'single-sign-on-already-exists-view'
|
|
template: template
|
|
|
|
events:
|
|
'click .back-button': 'onClickBackButton'
|
|
|
|
initialize: ({ @signupState }) ->
|
|
|
|
onClickBackButton: ->
|
|
@signupState.set {
|
|
ssoUsed: undefined
|
|
ssoAttrs: undefined
|
|
}
|
|
@trigger('nav-back')
|