diff --git a/public/js/vroom.js b/public/js/vroom.js index a8ec161..5d5869b 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -517,6 +517,9 @@ function initAdmin(){ $('#joinPassSet').bootstrapSwitch('state', data.join_auth == 'yes'); $('#ownerPassSet').bootstrapSwitch('state', data.owner_auth == 'yes'); $('#persistentSet').bootstrapSwitch('state', data.persistent == 'yes'); + // Hide the password inputs + $('#joinPassFields,#ownerPassFields').hide(); + // And display the config modal dialog $('#configureModal').modal('show'); } });