1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

#85 - Password page should indicate if one exists

This commit is contained in:
Luke Pulverenti 2013-03-26 23:01:13 -04:00
parent 0fb6b9a111
commit 686e5cfa86
2 changed files with 6 additions and 1 deletions

View file

@ -15,8 +15,12 @@
if (user.HasPassword) {
$('#btnResetPassword', page).show();
$('#fldCurrentPassword', page).show();
$('h3', page).html('Update Password').show();
} else {
$('#btnResetPassword', page).hide();
$('#fldCurrentPassword', page).hide();
$('h3', page).html('Create Password').show();
}
});