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:
parent
d2d25faa5c
commit
698f5f6f6e
@ -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('@'));
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user