Improvements at response from API when generate root certificate #1967
Labels
good first issue
Good for newcomers
javascript
Pull requests that update Javascript code
php
Pull requests that update Php code
technical debt
Milestone
Scenario
When we don't fill the field "
Name (CN)
" and click at the button "Generate root certificate
" we will see the message:We need to see the message:
Tips
Search by '
Name (CN)
' in the code and search by 'parameter '{$key}' is required
'. You will see that the array with the translated name stay at frontend and the text in backend. You also will found parameters here:apps-extra/libresign/src/helpers/certification.js
To-do
Will be necessary move the parameters names to backend because the validation occur at API side. To do this you will need to move the file
apps-extra/libresign/src/helpers/certification.js
to be a helper in API side and return this as JSON in an initial state to frontend.The text was updated successfully, but these errors were encountered: