following are the code in view section of the project. there two password field. But the first password fiel contain default value like this ‘********’
So, if you are creating a new entry, use a new model, too.
If you are updating it and don’t want to show the current password, you can clean the password value in the controller. Note: You may have to handle the case when the user doesn’t update the password. Better yet: remove the password fields and have an action and view just for changing passwords.