Try Now
More in this section

Forums / General Discussions / user cant login in

user cant login in

1 posts, 0 answered
  1. vinamra
    vinamra avatar
    45 posts
    23 Oct 2012
    08 Jun 2010
    Link to this post

    in my website there is strange problem

    i create a user by Membership.CreateUser  and generating random password by Membership.GeneratePassword(7, 0)

    now when user logs in  login fails.
    now if go to admin and reset the password and then  user log in from that password user can log in successfully.

    what could be the problem.

    in web.config
    <add name="Sitefinity" connectionStringName="DefaultConnection" type="Telerik.DataAccess.AspnetProviders.TelerikMembershipProvider, Telerik.DataAccess" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" applicationName="/" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" passwordAttemptWindow="10" passwordStrengthRegularExpression="" minRequiredPasswordLength="1" minRequiredNonalphanumericCharacters="0"/>

1 posts, 0 answered