Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Disable Account lock
Previous Previous
 
Next Next
New Post 7/1/2008 3:17 AM
User is offline yair
26 posts
10th Ranked


Disable Account lock 

Hello

My web app is based on DNN 4.0.2 and from time to time a user recieves the following message on the login page:

A critical error has occurred.
Input string was not in a correct format.

After some digging I found out that it happens because the user tried to login a wrong password and caused his account to lock.

It is possible to unlock this user via user accounts page available to the admin, but I could not find how to disable this lock.

Does anybody know how to disable the user lock (I don't mind that he tries a wrong password 100 times), also, does anybody know how to change the above message to a more understandable one (something like: you are locked, contact your admin...)

Thanks

 
New Post 7/1/2008 6:31 AM
User is offline Paul Sellers
270 posts
9th Ranked


Re: Disable Account lock 

Can't remember way back to 4.0.2 :-) but in the latest few releases you can find a setting under the host settings called "Auto-Unlock Accounts"  Set the value to 0 to disable the feature.

Paul

 
New Post 7/1/2008 6:56 AM
User is offline Will Strohl
1368 posts
www.WillStrohl.com
6th Ranked




Re: Disable Account lock 

Additionally, you may be able to alter the error message value in the localization files which are accessible in your Admin Menu > Languages page.


Will LinkedIn profile
DNN Training Videos | My Blog | DotNetNuke® Skins by SSD
Google Toolbar Button for DNN | Suggested DNN Upgrade Paths
ODUG Web Site
 
New Post 7/2/2008 1:20 AM
User is offline yair
26 posts
10th Ranked


Re: Disable Account lock 

Thank you for your replies.

However, after some more digging I found out that after a user is updated as locked in the DB (after 3 wrong passwords), the next time he tries to login (in the login page) the code reaches a UserLogin function (of PortalSecurity class) - There it flies and gives the error message above (which is not at all a DNN error message thus not accessible via Admin Menu > Languages page). 
The problem is that this function is in a DNN DLL and thus not accessible to me for debugging

Can you tell me how to access this code in the DLL.

 
New Post 7/2/2008 6:33 AM
User is offline Will Strohl
1368 posts
www.WillStrohl.com
6th Ranked




Re: Disable Account lock 

If you really must, you can change the source code, and then rebuild the DNN assembly.  You can get the source from the downloads page on this site.  Are you sure this requires a code change?


Will LinkedIn profile
DNN Training Videos | My Blog | DotNetNuke® Skins by SSD
Google Toolbar Button for DNN | Suggested DNN Upgrade Paths
ODUG Web Site
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  Disable Account lock
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DeutschNetNuke = DotNetNuke in German
DeutschNetNuke provides all DotNetNuke related services in German (and English).
www.DeutschNetNuke.de
The Standard in Senior Housing Information
SNAPforSeniors provides consumers with free online resources to assist them with their search for senior housing
www.snapforseniors.com
DotNetNuke Web Hosting w/ ASP.NET 3.5
Unlimited email boxes, Unlimited databases, Unlimited domains. Plans start at $4.97
www.MyWinHosting.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP