diff --git a/src/components/registration/steps.jsx b/src/components/registration/steps.jsx index bd956a8f5..59785f164 100644 --- a/src/components/registration/steps.jsx +++ b/src/components/registration/steps.jsx @@ -762,9 +762,16 @@ module.exports = { getDefaultProps: function () { return { email: null, - invited: false + invited: false, + confirmed: false, + educator: true }; }, + componentWillReceiveProps: function (nextProps) { + if (nextProps.educator && nextProps.confirmed) { + window.location.href = '/educators/classes/'; + } + }, render: function () { return (