title: Work with HTML.EditorForPassword() in MVC4
body: <p>I created a "Editlogin.cshtml" page where I can edit all properties of an user. My user has password so when I change a his password then it works okay. However when I do not write any passwors, my page has to write me a password, but sometimes I do want to leave the previous password. I use Entity Framework and I use an attribute for Password property in a model class:</p>
  
  <pre><code>    [Required(ErrorMessage = "Please type Password", AllowEmptyStrings = false)]
      public global::System.String Password
      {
          get { //omitted}
          set { //omitted}
      }
  </code></pre>
  
  <p>It is a double-edged weapon. When I create new user, I must have to write new password. However, if I edit an user, I would like sometimes to leave a previous password.
  How to solve it?</p>