mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
commit
845c4d1767
2 changed files with 3 additions and 1 deletions
|
@ -52,6 +52,7 @@ var User = DS.Model.extend(NProgressSaveMixin, SelectiveSaveMixin, ValidationEng
|
|||
type: 'PUT',
|
||||
data: {
|
||||
password: [{
|
||||
user_id: this.get('id'),
|
||||
oldPassword: this.get('password'),
|
||||
newPassword: this.get('newPassword'),
|
||||
ne2Password: this.get('ne2Password')
|
||||
|
|
|
@ -96,11 +96,12 @@
|
|||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
|
||||
{{#unless view.isNotOwnProfile}}
|
||||
<div class="form-group">
|
||||
<label for="user-password-old">Old Password</label>
|
||||
{{input value=user.password type="password" id="user-password-old"}}
|
||||
</div>
|
||||
{{/unless}}
|
||||
|
||||
<div class="form-group">
|
||||
<label for="user-password-new">New Password</label>
|
||||
|
|
Loading…
Add table
Reference in a new issue