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:
parent
0fb6b9a111
commit
686e5cfa86
2 changed files with 6 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue