User Details > saving changes returns error
As a user, I change some data in the User Details section and click on 'Save' button.
**Current result:**
When I try to save the changes, I get an error Authentiction or LUI Backend not reachable.
Error in the browser console:
Access to XMLHttpRequest at 'https://didmos.latest.crust.tech/lui2_backend/v2/User/didmosUUID=4141aeb8-182e-4c90-be09-892e5226a560,ou=people,ou=data,ou=default-tenant,dc=didmos,dc=de/' from origin 'https://frontend.didmos.latest.crust.tech' has been blocked by CORS policy: Method PATCH is not allowed by Access-Control-Allow-Methods in preflight response.
Steps to reproduce:
- go to https://frontend.didmos.latest.crust.tech/profile/userdata
- change some data (in my case I added an email)
- Click save
**Expected result:**
the data is saved and the confirmation message appears ('Changes saved successfully'). If for any reason the changes can't be saved, we show the appropriate error message (i.e. Invalid email address)