Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Simon Smith 19 posts 41 karma points
    Jan 30, 2012 @ 16:27
    Simon Smith
    0

    Using the UsersMembershipProvider

    Hi,

    I'm pulling my hair out trying to get the asp:Login control working with the UsersMembershipProvider.

    I'm trying to get a quick-and-dirty site set up with user logins controlled through the Users manager in Umbraco. However, it is incredibly inconsistent in whether it works or not.

    The admin user that was created works fine. It has a short alphanumeric password.

    Subsequent users have either not worked at all or have worked sporadically. I can't find the cause. It doesnt matter if they are set as an administrator, which sections they have access to or whether or not they are allowed access to Umbraco.

    The only message that is provided by the Login control is an extremely unhelpful 'Your login attempt was not successful. Please try again.'

    Please help!

    Thanks,
    Simon

  • Simon Smith 19 posts 41 karma points
    Jan 30, 2012 @ 16:49
    Simon Smith
    0

    It looks like a password starting or ending with '!' will cause logins to fail, but not if the exclamation is in other positions within the string. Is it a bug or feature of ASP.Net or Umbraco?

  • Rodion Novoselov 694 posts 859 karma points
    Jan 31, 2012 @ 02:55
    Rodion Novoselov
    0

    Hi, Simon. Haven't you played with the "passwordFormat" provider setting in the web.config since the moment of installation?

  • Simon Smith 19 posts 41 karma points
    Jan 31, 2012 @ 09:27
    Simon Smith
    0

    Nope, everything to do with authentication and authorisation is as it was since install.

  • Rodion Novoselov 694 posts 859 karma points
    Jan 31, 2012 @ 10:19
    Rodion Novoselov
    0

    I have tried the password "!!!" and it works OK on both existing and just created users.

Please Sign in or register to post replies

Write your reply to:

Draft