Products

Solutions

Learn More

Partners

Community

Blog

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Password Reset LinkPassword Reset Link
Previous
 
Next
New Post
2/18/2014 12:38 PM
 
Thank you. That code change worked and seems much cleaner than my previous workaround of using a SQL trigger to update the expiration date. I would like to see this configurable through the GUI as well as allowing the user expiration time to be longer. The field for it only accepts 4 digits limiting it a maximum of 9999 minutes or about 6.9 days. If there is an appropriate method for me to submit this request I will be glad to do so. You mentioned Jira but I don't see any way of submitting anything there. maybe I am missing something
 
New Post
2/18/2014 2:48 PM
 

you need to create an account in jira - click the login in the top right and then create the account (when we moved from Gemini we stopped anonymous logging as too much "my site is broke" (with no further information) type issues were logged and we had no way to contact users)

 


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/20/2014 11:03 PM
 
So I'm sorry to ask a stupid question here but I honestly have never edited a ascx.cs file.

Should I be able to edit this in notepad ++? Or do I need to open the file in visual studio?

Also I did attempt to open it in notepad ++ and searched for 1440 and other strings to try to find it. I did not. Am I missing something?

Thanks Cathal for the info. This should help once I figure out what I am doing.
 
New Post
2/21/2014 11:31 AM
 
DNN is a "website project" solution so the ascx/ascx.cs files are automatically background compiled by asp.net so editing it in notepad and saving is all that's required (if it was a "website application project" you would need to compile in vs.net) - the line you need to change is UserController.ResetPasswordToken(User,1440) (in DesktopModules\Admin\Security\Password.ascx.cs)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
5/7/2014 4:39 PM
 
I've run into the same issue, and though this thread has been very helpful, I have one additional question: is there an expiration difference between the token that is created as part of the Add New User process and the token created when clicking Send Password Reset Link as part of editing an existing user? As far as I can tell, resetting the password on an existing user adheres to the 24 hour expiration. However, the reset token created when Creating/Adding a New User does not. Does it ever expire?

And, related to this, it seems the same email (EMAIL_PASSWORD_REMINDER_BODY.Text) gets sent to the User for both User-requested and Admin-initiated password resets. So, language that tells the user how long they have to reset their password won't work as it could be either 60 minutes or 24 hours depending on how the request was initiated, correct? Is there some way around that problem; isn't it important to let people know how long they have so the token doesn't expire without them acting on it?

Thanks.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Password Reset LinkPassword Reset Link


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out