Do no to overwrite the password when updating the account info
This commit is contained in:
parent
905dd59425
commit
b253a002a8
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ App.Pages.Account = (function () {
|
||||||
timezone: $timezone.val(),
|
timezone: $timezone.val(),
|
||||||
settings: {
|
settings: {
|
||||||
username: $username.val(),
|
username: $username.val(),
|
||||||
password: $password.val() || null,
|
password: $password.val() || undefined,
|
||||||
calendar_view: $calendarView.val(),
|
calendar_view: $calendarView.val(),
|
||||||
notifications: Number(notifications.prop('checked'))
|
notifications: Number(notifications.prop('checked'))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue