Custom Membership Provider - Custom Error Messages

Discussion in 'ASP .Net Security' started by Brett Ossman, Mar 11, 2009.

  1. Brett Ossman

    Brett Ossman Guest

    I am setting up a custom Membership Provider inheriting from
    SQLMembershipProvider. I overrode the ChangePassword method in my provider
    and first checks for password re-use. If I simply return False from my
    ChangePassword method, the ChangePassword control displays the standard
    ChangePasswordFailureText error message. I'm trying display a custom error
    message when a password was already used.

    Thanks

    Brett Ossman
     
    Brett Ossman, Mar 11, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. sloan
    Replies:
    5
    Views:
    1,515
    sloan
    Jun 4, 2006
  2. Rai_Prash
    Replies:
    2
    Views:
    1,543
    Rai_Prash
    Jul 24, 2006
  3. Replies:
    0
    Views:
    747
  4. sloan
    Replies:
    1
    Views:
    514
    Chad Scharf
    Jul 3, 2007
  5. Brett Ossman

    Cusotm Membership Provider - Custom Error Messages

    Brett Ossman, Mar 12, 2009, in forum: ASP .Net Security
    Replies:
    1
    Views:
    1,294
Loading...

Share This Page