DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Can't add new users with my SuperUser account

 26 Replies
 0 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Page 3 of 3 << < 123
Author
Messages
Senior Member
Posts: 1322
Senior Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
Lifesaver
Lifesaver
You're Life Saver!
New Poster
New Poster
Congrats on posting!
3 Engaged Reader
Engaged Reader
You are an engaged reader!

I just tested this on 2 different dnn 9 installations and the result is the same, an empty message.
I think this is a bug (as in the regex should not fail this address and the resource key might be missing).

Veteran Member
Posts: 349
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
I just tried that email on a local site and get this key RESX:RegistrationInvalidEmailUsed.Text After digging around some more, I have created this issue: https://github.com/dnnsof...Platform/issues/6077 many of those errors are missing the localized text.

The Regex for emails is in Security / Member Accounts / Registration Settings I feel like pasting regext here might be a pain for formatting. But if you google or use ChatGPT there are great resources out there for email regex. The main issue with the out of box one is that it limits the domain part to 9 characters and "foundation" has 10.
Senior Member
Posts: 1322
Senior Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
Lifesaver
Lifesaver
You're Life Saver!
New Poster
New Poster
Congrats on posting!
3 Engaged Reader
Engaged Reader
You are an engaged reader!
Posted By Marco Alvarado on 6/20/2024 2:55 AM

Daniel, I found this in the log folder for file "2024.06.19.log.resources":

2024-06-19 18:13:09.933-07:00 [win5195][D:3][T:40][ERROR] Dnn.PersonaBar.Users.Services.UsersController - System.Exception
   at Dnn.PersonaBar.Users.Components.RegisterController.Register(RegisterationDetails registerationDetails)
   at Dnn.PersonaBar.Users.Services.UsersController.CreateUser(CreateUserContract contract)

@Marco: Security > Member Accounts > Registration Settings > Email Address Validation, replace value with:

<code>^\s*&#91;a-zA-Z0-9_%+#&'*/=^`{|}~-&#93;(?:\.?&#91;a-zA-Z0-9_%+#&'*/=^`{|}~-&#93;)*@(?:&#91;a-zA-Z0-9_&#93;(?:(?:\.?|-*)&#91;a-zA-Z0-9_&#93;)*\.&#91;a-zA-Z&#93;{2,15}|\&#91;(?:2&#91;0-4&#93;\d|25&#91;0-5&#93;|&#91;01&#93;?\d\d?)\.(?:2&#91;0-4&#93;\d|25&#91;0-5&#93;|&#91;01&#93;?\d\d?)\.(?:2&#91;0-4&#93;\d|25&#91;0-5&#93;|&#91;01&#93;?\d\d?)\.(?:2&#91;0-4&#93;\d|25&#91;0-5&#93;|&#91;01&#93;?\d\d?)&#93;)\s*$</code>

 

 

 

Veteran Member
Posts: 360
Veteran Member
Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
Great job all on isolating a couple of potential issues! Teamwork makes the dream work (as some...ahem...former???...DNN community member once said). #thanksclint

David Poindexter


Creator:


Veteran Member
Posts: 363
Veteran Member
4 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
2 Most Liked
Most Liked
Congrats, your posts are really liked!

This is the reason why I'm only using DNN! you guys rock! the community itself rocks! a BIG THANKS to you all! 

Thanks Timo for the regex code and thanks Daniel for looking at the key, I was going to do this at night since I was outside visiting a client.

Thanks again to you all for your time and for helping me figuring this thing out!

Veteran Member
Posts: 363
Veteran Member
4 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
2 Most Liked
Most Liked
Congrats, your posts are really liked!

BTW, Timo the regex worked like a charm, thanks!

Veteran Member
Posts: 360
Veteran Member
Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
Yay!

David Poindexter


Creator:


Page 3 of 3 << < 123

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved