diff --git a/skins/base/views/templates/Register.js b/skins/base/views/templates/Register.js index 13b9b2a1..94f3b969 100644 --- a/skins/base/views/templates/Register.js +++ b/skins/base/views/templates/Register.js @@ -53,10 +53,10 @@ module.exports = React.createClass({ return (
- Email:
- Username:
- Password:
- Confirm Password:
+ Email:
+ Username:
+ Password:
+ Confirm Password:
diff --git a/src/controllers/templates/Register.js b/src/controllers/templates/Register.js index 2ff75e0c..664b36b3 100644 --- a/src/controllers/templates/Register.js +++ b/src/controllers/templates/Register.js @@ -42,6 +42,12 @@ module.exports = { }, componentWillMount: function() { + this.savedParams = { + email: '', + username: '', + password: '', + confirmPassword: '' + }; this.readNewProps(); }, @@ -163,6 +169,7 @@ module.exports = { ev.preventDefault(); var formVals = this.getRegFormVals(); + this.savedParams = formVals; var badFields = {}; if (formVals.password != formVals.confirmPassword) {