[Mono-dev] ChangePassword patch

dban at dako.ro dban at dako.ro
Tue Apr 3 10:25:38 EDT 2007


Hello,

Attached is a patch for ChangePassword control. The ProcessChangePasswordEvent
is calling MembershipProviderInternal.ChangePassword method which is throwing
ArgumentException in different situations - "Password too short", "Password does
not match regular expresion" etc. Instead of allowing the exception to
propagate, the ProcessChangePasswordEvent should catch it, call the
OnChangePasswordError and set the failure message according to the exception
message.

Best regards,
Dumi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ChangePassword_75341.patch
Type: text/x-patch
Size: 2052 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070403/a81aa695/attachment.bin 


More information about the Mono-devel-list mailing list