You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My OpenStreetMap username / login is "Hartmut Holzgraefe" with a space between first and last name.
When I log in via the OpenStreetMap provider {{user.username}} and {% user_display.user %} in templates get replaced with the fixed sting user instead of my real user name.
When I log in using a test user account with no whitespace in it I get the actual login name replaced as expected.
There is nothing in the OpenStreetMap provider that would explain this as far as I can tell, so the problem seems to be within allauth itself?
The text was updated successfully, but these errors were encountered:
>>> from allauth.account.adapter import get_adapter
>>> get_adapter().clean_username("a b")Traceback (most recent call last):
File "<console>", line 1, in <module>
django.core.exceptions.ValidationError: ['Enter a valid username. This value may contain only letters, numbers, and @/./+/-/_ characters.']
>>>
My OpenStreetMap username / login is "Hartmut Holzgraefe" with a space between first and last name.
When I log in via the OpenStreetMap provider
{{user.username}}
and{% user_display.user %}
in templates get replaced with the fixed stinguser
instead of my real user name.When I log in using a test user account with no whitespace in it I get the actual login name replaced as expected.
There is nothing in the OpenStreetMap provider that would explain this as far as I can tell, so the problem seems to be within allauth itself?
The text was updated successfully, but these errors were encountered: