Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using email address as username leads to server error 500 #1135

Open
fquadt opened this issue Dec 20, 2024 Discussed in #1132 · 0 comments
Open

Using email address as username leads to server error 500 #1135

fquadt opened this issue Dec 20, 2024 Discussed in #1132 · 0 comments

Comments

@fquadt
Copy link

fquadt commented Dec 20, 2024

Discussed in #1132

Originally posted by fquadt December 19, 2024
Hi,

since the username is (according to the german label) allowed to have letters, numbers and characters like "@", ".", and "-" I added a user and entered his email address as username in the django management center. The user account is created successfully.
When I switch back to the mediacms frontend, open the users list and click the newly created user to open his profile I get a server 500 error.
The debug.log prints
django.urls.exceptions.NoReverseMatch: Reverse for 'edit_user' with keyword arguments '{'username': '[email protected]'} not found. 1 pattern(s) tried: ['user/(?P<username>[\\w@.]*)/edit$']
Any ideas? Is it actually forbidden to use email addresses as username?
This problem blocks the user from changing his password to get access.

Installation:
mediacms installed with ubuntu installation script on ubunutu 22

Thank you in advance.
Florian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant