app: Change input field to password type in change_password ui (#443)

Change input field type for field old_password from its default "text" to "password"

Fixes #442
This commit is contained in:
DarkSpir 2023-02-13 09:29:54 +01:00 committed by GitHub
parent 94d45f7320
commit e92947fc3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -246,6 +246,7 @@ impl Component for ChangePasswordForm {
<Field <Field
form=&self.form form=&self.form
field_name="old_password" field_name="old_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"