Skip to content

Commit 64af676

Browse files
committed
Fixed password field type issue
1 parent 40cd246 commit 64af676

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

resources/js/Pages/Admin/User/Create.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const form = useForm({
9191
>
9292
<FormControl
9393
v-model="form.password"
94-
type="text"
94+
type="password"
9595
placeholder="Enter Password"
9696
:error="form.errors.password"
9797
>
@@ -107,7 +107,7 @@ const form = useForm({
107107
>
108108
<FormControl
109109
v-model="form.password_confirmation"
110-
type="text"
110+
type="password"
111111
placeholder="Enter Password Confirmation"
112112
:error="form.errors.password"
113113
>

resources/js/Pages/Admin/User/Edit.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const form = useForm({
100100
>
101101
<FormControl
102102
v-model="form.password"
103-
type="text"
103+
type="password"
104104
placeholder="Enter Password"
105105
:error="form.errors.password"
106106
>
@@ -116,7 +116,7 @@ const form = useForm({
116116
>
117117
<FormControl
118118
v-model="form.password_confirmation"
119-
type="text"
119+
type="password"
120120
placeholder="Enter Password Confirmation"
121121
:error="form.errors.password"
122122
>

0 commit comments

Comments
 (0)