mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
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
4057a2c8d5
commit
0d4397ef98
2 changed files with 2 additions and 3 deletions
|
@ -13,7 +13,6 @@ var SignupRoute = Ember.Route.extend(styleBody, loadingIndicator, {
|
||||||
email = tokenText.split('|')[1];
|
email = tokenText.split('|')[1];
|
||||||
controller.token = params.token;
|
controller.token = params.token;
|
||||||
controller.email = email;
|
controller.email = email;
|
||||||
controller.name = email.substring(0, email.indexOf('@'));
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -12,12 +12,12 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="name">Full Name</label>
|
<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>
|
<p>The name that you will sign your posts with</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="password">Password</label>
|
<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>
|
<p>Must be at least 8 characters</p>
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer>
|
||||||
|
|
Loading…
Add table
Reference in a new issue