Skip to content

Commit

Permalink
Change the plaintext-field to a password-field in AlbumUnlock (#2757)
Browse files Browse the repository at this point in the history
change InputText to InputPassword
  • Loading branch information
Gendra13 authored Nov 27, 2024
1 parent 9743704 commit 6060e94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/components/forms/album/Unlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<p class="mb-5 px-9">{{ $t("lychee.ALBUM_PASSWORD_REQUIRED") }}</p>
<div class="inline-flex flex-col gap-2 px-9">
<FloatLabel variant="on">
<InputText id="albumPassword" v-model="password" @keydown.enter="unlock" />
<InputPassword id="albumPassword" v-model="password" @keydown.enter="unlock" />
<label class="" for="albumPassword">{{ $t("lychee.PASSWORD") }}</label>
</FloatLabel>
</div>
Expand All @@ -32,7 +32,7 @@ import Button from "primevue/button";
import Dialog from "primevue/dialog";
import FloatLabel from "primevue/floatlabel";
import { computed, ref } from "vue";
import InputText from "../basic/InputText.vue";
import InputPassword from "../basic/InputPassword.vue";
const props = defineProps<{
albumid: string;
Expand Down

0 comments on commit 6060e94

Please sign in to comment.