Add password field for private+locknetwork

This commit is contained in:
Pavel Djundik 2020-07-08 14:48:01 +03:00
parent c21ccad823
commit d7c641ffc7

View file

@ -111,6 +111,23 @@
maxlength="100"
/>
</div>
<div class="connect-row">
<label for="connect:password">Password</label>
<RevealPassword
v-slot:default="slotProps"
class="input-wrap password-container"
>
<input
id="connect:password"
v-model="defaults.password"
class="input"
:type="slotProps.isVisible ? 'text' : 'password'"
placeholder="Server password (optional)"
name="password"
maxlength="300"
/>
</RevealPassword>
</div>
</template>
<h2>User preferences</h2>