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/21/2013 4:08 AM
 

Hello,

I'm having a problem to change the users password as an Administrator:

In DNN7 > User Accounts > Edit User Accounts , i can't change the password of a user, the section where i should change the password is not visible. 

Suggestions? 

Regards,

Hans Spitters

 
New Post
2/26/2013 7:16 AM
 
I'm getting error "There was an error setting the password. The password has not been changed." after i try changing the password for other user, and also after using Reset option to generate random password.
 
New Post
9/11/2013 12:44 PM
 

With recent DNN-versions, DNN has decided to -by default- only allow password resets (with which DNN will generate some random token and email it to the user, allowing them to enter a new password themselves) in favor of letting the admin/host enter the password. That is why the password-boxes are now hidden when editing a user.

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".

Now the password-fields will be visible again when editing a user. Actually trying to change the password, however, results in the error as described by Mladen (for which I also currently don't know the solution)..

Does anyone have more information on Mladen's post?

 
New Post
9/11/2013 1:20 PM
 
After debugging the DNN-sourcecode, I found out that the error-message, at least in my case, is (also) caused by the password history functionality (another new feature of recent DNN-versions I didn't think of whilst researching this). If the to-be-set password was used before and is within the X amount of previous passwords, that error will be displayed when trying to set the password.

Password-history behaviour can be altered/specified in DNN's host settings window, within the "Advanced Settings" tab, under "Membership Management".
 
New Post
10/15/2013 10:24 PM
 
Thanks for the info Kornelis, that was very helpful.

For anyone else running across this, I found the topic because of trouble after an upgrade on a site from DNN 6.0 up to 7.1. The administrators of the site were expecting to use the user administration just as they had before in older DNN 6 and although I've enjoyed using the new better password security on new DNN 7 installs, I hadn't considered how that might affect an existing site's rules during an upgrade. I had assumed it would leave the existing settings in place.

I checked in on each of the items mentioned in the web.config, they were all correctly or already set to the expected values you mentioned
1. In Host Settings > Advanced Settings Tab > Membership Management section
made sure that the "Enable password history?" box is unchecked (in my case it still was unchecked)

2. in the web.config, checked on the enablePasswordRetrieval and passwordFormat and both were already set to the correct/needed values
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="SiteSqlServer"
enablePasswordRetrieval="true"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
minRequiredPasswordLength="8"
minRequiredNonalphanumericCharacters="0"
requiresUniqueEmail="false"
passwordFormat="Encrypted"
applicationName="DotNetNuke"
description="Stores and retrieves membership data from the local Microsoft SQL Server database" />

The error that I see is that when an admin tries to reset a user's password, it will not complete / save the password change and gives the message that Mladen shared:
There was an error setting the password. The password has not been changed.

If instead I click to "Reset Password" then it seems to successfully save a new password and gives the alert message:
If the username entered was correct, you should receive a new email shortly with a link to reset your password.

when going through that process, it will correctly allow the user to receive the email, use the link in the email to visit the site and then reset / change their password.

So it seems to me in testing that although the system/controls seem to allow us to keep the older less secure password changing method, the enforced action in the DNN 7.1 site really (and I can't complain too much about it since I've been such a huge fan of the new password security in general) enforces the password change request email method.
 
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