Fix: Change input filed to password type in change_password ui (#273)

This commit is contained in:
Jun-Cheol Park 2022-07-26 18:07:44 +09:00 committed by GitHub
parent 5c584536b5
commit 05719642ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -252,6 +252,7 @@ impl Component for ChangePasswordForm {
<Field <Field
form=&self.form form=&self.form
field_name="password" field_name="password"
input_type="password"
class="form-control" class="form-control"
class_invalid="is-invalid has-error" class_invalid="is-invalid has-error"
class_valid="has-success" class_valid="has-success"
@ -271,6 +272,7 @@ impl Component for ChangePasswordForm {
<Field <Field
form=&self.form form=&self.form
field_name="confirm_password" field_name="confirm_password"
input_type="password"
class="form-control" class="form-control"
class_invalid="is-invalid has-error" class_invalid="is-invalid has-error"
class_valid="has-success" class_valid="has-success"