Registration check of second email using hard-coded message

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
4/10/2015 9:42:24 AM
Gravatar
Total Posts 115

Registration check of second email using hard-coded message

In this section of /secure/register.aspx.cs there's a hard-coded message, that should be using a resource

   if (siteSettings.RequireEnterEmailTwiceOnRegistration)
            {
                Panel divConfirmEmail = (Panel)CreateUserWizardStep1.ContentTemplateContainer.FindControl("divConfirmEmail");
                CompareValidator EmailCompare = (CompareValidator)CreateUserWizardStep1.ContentTemplateContainer.FindControl("EmailCompare");
                RequiredFieldValidator ConfirmEmailRequired = (RequiredFieldValidator)CreateUserWizardStep1.ContentTemplateContainer.FindControl("ConfirmEmailRequired");

                //ConfirmEmailRequired
                if ((divConfirmEmail != null) && (EmailCompare != null))
                {
                    divConfirmEmail.Visible = true;
                    EmailCompare.ErrorMessage = Resource.RegisterCompareEmailWarning;
                    EmailCompare.Enabled = true;
                    EmailCompare.EnableClientScript = true;

                    ConfirmEmailRequired.ErrorMessage = "Confirm Email is required.";
                    ConfirmEmailRequired.Enabled = true;

                   

                }
 

We've change this to = Resource.RegisterCompareEmailRequired;

4/17/2015 10:42:16 AM
Gravatar
Total Posts 18444

Re: Registration check of second email using hard-coded message

Thanks! I've made the same change in the source code repository.

You must sign in to post in the forums. This thread is closed to new posts.