Passwords at postback

Hi. In Yii with Forms, the password is filled in the postback request for a login or some form that requires password. It should be nice to don't fill it from the model because it's sensible data from the user.

Is there another way than override the CHtml class to don't fill that field??



CHtml doesn't do this for you. This is actually a simple task: just manually set the password attribute of the model to be empty before you render the view.

I know, but maybe it could be an enhancement to the CHtml::passwordField().

I was doing it like you say.