docdoku / docdoku-plm

The project purpose is to develop a comprehensive, robust open source PLM (Product LifeCycle Management) solution.
http://www.docdokuplm.com
GNU Affero General Public License v3.0
241 stars 98 forks source link

Wrong value accepted for field language in [PUT /admin/accounts/] service #1172

Closed ludoBarel closed 6 years ago

ludoBarel commented 6 years ago

When trying to update the account, i've put 'french' as value for language field, normally this never should be accepted and generate an error. Only 'fr', 'en' and 'ru' must be accepted.

mguimard commented 6 years ago

https://github.com/polarsys/eplmp/commit/4dc7ab56d91ec0a4844af5c4621e4bde618c30ae