Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN 7 Change Password not showingDNN 7 Change Password not showing
Previous
 
Next
New Post
1/30/2014 6:31 AM
 
A Wat. wrote:

 I thought that by enabling these values in the web.config:

 

Original behaviour can be restored by altering your Web.config-file. Look for the "enablePasswordRetrieval"-attribute and set it to "true". Also, on the same line, alter the "passwordFormat"-attribute to "Clear" or "Encrypted"

 

 

I would get a "Retrieve password" link  on the login - allowing users to have their password emailed to them.  however, when I change the web.config as above I still just have a "reset password" button

 

Are my expectations off base?

 I'm afraid they are -let me give some background.

Originally (since dnn 3.0 when we introduced Microsofts memberrole component that the web.config settings apply to) we used encryption as the default. As encryption is a reversible (decryption) operation it meant that an encrypted password could be retrieved. As such Microsoft decided to support retrieving your password i.e an email with your password would be sent out. They realised that this is not very secure as emails are plain text and can be intercepted/read, so added the option to send out a new (reset) password. Realistically that isn't much more secure as it also goes over email but it was slightly better.

With the 7.0.0 release DNN changed to using hashed passwords -hashing is a one way operation so password emails are not possible (in fact if you set hashing and password retrieval the Microsoft component throws an exception). As such we could have simply gone with password reset - but we wanted to improve on Microsoft's poor design, so we introduced password reset tokens. By doing this the token is 1-time use only (and short lived) and no password is ever emailed.

Our product team considered running with both systems (ie allowing password retrieval for encryption, but password reset link for hashing), but that is not ideal due to the additional code and checking - and doesn't address Microsofts original poor design. As such we decided that all passwords will only be able to use password reset links - this does mean that some of the settings such as passwordretrieval no longer really apply, but it means that the overall system is better, no passwords are ever sent my email and it meant we could integrate with other subsystems such as password history (you can't really integrate password history/banned passwords when you generate random passwords on reset)


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/30/2014 10:42 AM
 
Thank you Cathal, I appreciate the detailed response, so that I can respond intelligently to my stakeholders~aw
 
New Post
1/30/2014 5:59 PM
 

Using Using 7.1.2 version of DNN and with these settings:

 

<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="SiteSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" requiresUniqueEmail="false" passwordFormat="Hashed" applicationName="DotNetNuke" description="Stores and retrieves membership data from the local Microsoft SQL Server database" />

 

I get the error "Reset password option not available" when I click on the Reset Password button on the login control.

Does requires UniqueEmail need to be true?  That would need to be in the aspnet_membership columns related to email?

I had a user set up that way, but when I switched that requiresUniqueEmail attribute to true, I could not login and I got an error saying the email was invalid.

 

 

 

 

 

 
New Post
3/18/2014 11:17 AM
 

We ran in to this. A few details... 

1. So I don't miss things like this in the future, where was the info about this change published previously? With each upgrade I read (scan) the release notes and this was a surprise to me.

2. Why did the DNN team choose to re-use the now incorrectly named resource key? 

EMAIL_PASSWORD_REMINDER_BODY.Text ("reminder" should become RESET) 

3. Also, on my 7.02.01 upgrade, the EMAIL_PASSWORD_REMINDER_SUBJECT.Text (System, Host, and Site defaults) still says, "[Portal:PortalName] Password Reminder" - shouldn't the default now be "Password Reset"?

 
New Post
3/18/2014 2:00 PM
 
password reset links were announced in various 7.1.0 blogs (such as http://www.dnnsoftware.com/community-... ), as well as on the wiki (http://www.dnnsoftware.com/wiki/page/...). For releases such as 7.1.0 where a few hundred items were tackled the release notes are just a short synopsis, I would always recommend checking jira to see the full changelog. As to the resource key, it wasn't intentional - initially password reset links were going to be for hashed only passwords, but it became problematic (as dnn supports different password formats for different users), plus having two different paths to 2 different pieces of functionality based on passwordformat was felt to be confusing. As such we harmonised and changed all password reminders to password resets, hence the reuse of the key -on reflection a new key would have been better and covered the cases where people had customising that key - it's logged as a possible 7.3.0 issue AFAIR so we could well add a new key and amend the code

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN 7 Change Password not showingDNN 7 Change Password not showing


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