DNN Blog

Mar 10

Posted by: Lorraine Young
Saturday, March 10, 2007 3:00 PM  RssIcon

You can set your portal to enable users to retrieve their password by supplying their email address. This is handy because people know their email addresses, whereas their user name may have been randomly chosen.

Problems with retrieve password using an email address will occur when you have a user account on one portal and then try to create a user account on another portal within the same DNN installation. When requiredUniqueEmail is set to true, each user account must have an email address which is unique across all portals in the DNN installation. This problem can be overcome by using the same user name and email address for multiple user accounts.

You can set your DNN to retrieve password using an email address by setting the

requiresUniqueEmail field in the web.config file to true ( requiresUniqueEmail="true" ). The web.config file is located in the root folder of your DNN installation.

To find out if your portal enables retrieve password using email address check the REquiresUniqueEmail option under User Accounts Settings.

(Shared blog post with www.DNNangel.com)

Tags:
Categories:
Location: Blogs Parent Separator Lorraine Young

14 comment(s) so far...


Re: Retrieve Password using Email Address

What DNN version is this about? I cannot retrieve a password using an email address with < 4.4.1

By mariette on   Tuesday, March 13, 2007 3:58 PM

Re: Retrieve Password using Email Address

Is retrieving a password by email address only available in 4.4.5??

By michealobrien on   Tuesday, March 13, 2007 3:59 PM

Re: Retrieve Password using Email Address

My apologies for not posting this post with the DNN version number. This post refers to DNN 4.5+. Prior to this version password reminders could only be retrieved by providing a UserName.

By Lorraine Young on   Tuesday, March 13, 2007 4:51 PM

Re: Retrieve Password using Email Address in DNN 4.5+

I don't understand the restriction on requiredUniqueEmail = true. If Mom, dad & the kids all are sharing an email address all the userids and passwords can be sent to that address. I can see the reasons for have the requiredUniqueEmail restriction, and I can see using that on some of the DNN sites I maintain, but requiring requiredUniqueEmail in order to enable retrieve by email address is onerous. I maintain two club sites where husband / wife use the same email on their membership, and those are the sites where I get the heaviest demand for password retrieval. This makes DNN less friendly to casual web users, a very big market.

By Keith Stone on   Friday, March 16, 2007 5:00 PM

Re: Retrieve Password using Email Address in DNN 4.5+

Thank you for the above information to retrieve the password for a unique mail id. I am using DotNetNuke 4.4.1. I have to work on a mailing functionality for my module, so I am using the mail method from DotNetNuke.Services.Mail.Mail.SendMail(...parameters) method. I am unable to receive any mail. Can you please help me with this.

Thanks in advance

By santhoshkumar on   Friday, March 30, 2007 8:20 AM

Re: Retrieve Password using Email Address in DNN 4.5+

santhoshkumar - I cannot help you with this. Please post your question to the Forum.

By Lorraine Young on   Friday, March 30, 2007 10:02 AM

Re: Retrieve Password using Email Address in DNN 4.5+

Does requiresUniqueEmail = true set this for the entire DNN installation (across all portals) or is it portal (child or parent) specific?

By Airstream345 on   Friday, May 11, 2007 9:13 AM

Re: Retrieve Password using Email Address in DNN 4.5+

Airstream/santhoshkumar - Thanks for these questions, however can you please post these questions to the forum.

By Lorraine Young on   Friday, May 11, 2007 9:16 AM

Re: Retrieve Password using Email Address in DNN 4.5+

can we change the unique email in portal base? for the entire DNN installation doesn't make sense for me. how can i register in different portal with same email address in same installation?
Danzhang I suggest you post this question to the forums.

By danzhang on   Wednesday, April 23, 2008 10:25 AM
Gravatar

Re: Retrieve Password using Email Address in DNN 4.5+

This is really poor even after so many years. I would say the way DNN handle the user / Membership and email is its biggest flaws.

By innochannel on   Tuesday, April 06, 2010 10:33 AM
Gravatar

Re: Retrieve Password using Email Address in DNN 4.5+

I have been getting many requests to use the user email in the password reminder. I am using DNN 5.1.4 and I have changes the requiresUniqueEmail="true" on my development server but how to I change the settings in the login module or site?The password reminder is still looking for the username and I do not see a module setting for this. Thanks
LY: Please repost your dev question to the forums.

By LewHill on   Tuesday, April 06, 2010 10:34 AM
Gravatar

Re: Retrieve Password using Email Address in DNN 4.5+

I have been getting many requests to use the user email in the password reminder. I am using DNN 5.1.4 and I have changes the requiresUniqueEmail="true" on my developmnet server but how to I change the settings in the login module or site?
The password reminder is still looking for the username and I do not see a module setting for this.
Thanks

By LewHill on   Saturday, March 06, 2010 2:35 AM
Gravatar

Re: Retrieve Password using Email Address in DNN 4.5+

You may find this useful - I wrote a SQL script to handle duplicate email addresses for when you turn this on for an existing DNN site - www.smart-thinker.com/DNNBlog/tabid/1070/EntryID/48/language/en-GB/Default.aspx

By rodneyjoyce on   Tuesday, July 20, 2010 11:14 AM
Gravatar

Re: Retrieve Password using Email Address in DNN 4.5+

Hi,In our website , we have a requirement to provide both Username and Email Address to retreive password for the user. However , there are multiple websites in the portal and there are duplicate entries for the email addresses in different sites.we want to keep the duplicate email addresses and still be able to retrieve password using the Email field.Is it possible?Thanks in advanceKrishnaPlease post questions to the Forums

By krishnalekha on   Wednesday, March 23, 2011 11:43 AM
Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
DotNetNuke Store

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Telerik JustCode Free
Exact Target Exec Alert
PowerDNN

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.