ecotaxa / ecotaxa_front

Front end of the EcoTaxa application
Other
6 stars 6 forks source link

Difference in country treatment between self-registration and admin form #820

Closed grololo06 closed 2 years ago

grololo06 commented 2 years ago

Self-reg:

image The field is mandatory, form cannot be submitted without a value

Admin form:

image The field is not mandatory, the country can be erased and then one gets a server-side error.

image

jiho commented 2 years ago

A user for whom the country appeared empty reports

i am from Israel. When I tried to add it, the system wrote another, so that's what I registered.

So it is possible that an admin erased it because it was wrong.

bea777515 commented 2 years ago

Country select2 is case sensitive on public registration ( should not be ?). country is now 'required' on user creation in admin (admin/views/users.py)