Closed nikhase closed 11 months ago
Hi @nikhase thanks for the report! This should be an easy fix as the validator schema would need to be made more lenient to this end, and there are already several tests for it but not for this case
validators: api/strategies/validators.js Tests: api/strategies/validators.spec.js
I can start work on this right now, and you can let me know if I've fully addressed this
Hi @danny-avila , thanks for the prompt (pun intended! 😁 ) response!
In general, we mostly have é, è, ä,ö,ü
.
Are there pre-defined validators that contain the whole german and french alphabet?
Do I see it correctly that it's done in this line? https://github.com/danny-avila/LibreChat/blob/b48c618f326015b5e4469be471dd9cf453f1ddfa/api/strategies/validators.js#L35C1-L36C1
Do I see it correctly that it's done in this line? https://github.com/danny-avila/LibreChat/blob/b48c618f326015b5e4469be471dd9cf453f1ddfa/api/strategies/validators.js#L35C1-L36C1
Yes I've already put in a PR #969 that should close this issue! Going to merge and let me know if it solves your use case
Contact Details
No response
What happened?
We are deploying this amazing piece of software in our german company. We have many people with special german or french characters in their names - for example
é
orö
.We use SSO Login. Unfortunately, they cannot create a user for LibreChat, it fails. The special character does not necessarily need to be in the email, because we have clean aliases - it can be in the profile stored in our Keycloak.
I am not experienced in TS / JS. If you point me to where to look, I might be able to create a PR and some tests for it. Thanks in advance ! :-)
Steps to Reproduce
Our setup (we put it into helm charts):
What browsers are you seeing the problem on?
Chrome
Relevant log output
Screenshots
No response
Code of Conduct