Merge pull request #3411 from novaugust/signup-password
Rebind password to password input on signup page
This commit is contained in:
commit
f372ecddf0
@ -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