I\'m trying to write my own Custom Validation attribute but I\'m having some problems.
The attribute I\'m trying to write is that when a user logs in, the password w
You can't pass a reference type to an attribute unless you do some rather lame reflection code.
In this situation, I would think creating a custom model binder would be a better idea and then checking the Password and ComparePassword at that point.