Rebind name and password to inputs on signup page

Closes #3410, Ref #3392
- Removed setting name from user email address per issue #3392
This commit is contained in:
Matt Enlow 2014-07-25 12:47:50 -06:00
parent d2d25faa5c
commit 698f5f6f6e
2 changed files with 2 additions and 3 deletions

View File

@ -13,7 +13,6 @@ var SignupRoute = Ember.Route.extend(styleBody, loadingIndicator, {
email = tokenText.split('|')[1];
controller.token = params.token;
controller.email = email;
controller.name = email.substring(0, email.indexOf('@'));
}
});

View File

@ -12,12 +12,12 @@
</div>
<div class="form-group">
<label for="name">Full Name</label>
{{input type="text" name="name" autofocus="autofocus" autocorrect="off" value="" }}
{{input type="text" name="name" autofocus="autofocus" autocorrect="off" value=name }}
<p>The name that you will sign your posts with</p>
</div>
<div class="form-group">
<label for="password">Password</label>
{{input type="password" name="password" autofocus="autofocus" autocorrect="off" value="" }}
{{input type="password" name="password" autofocus="autofocus" autocorrect="off" value=password }}
<p>Must be at least 8 characters</p>
</div>
<footer>