You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 27, 2021. It is now read-only.
If "de" is passed as locale, params['lc'] will be equal to "GB" and params['lg'] will be equal to "de". This seems wrong to me. Does params['lc'] has to be filled? And what would happen if it stays empty (empty string, null or undefined)?
Another question: if the user registers with another locale like "de-DE", does the exists - function in the same file still work? As params['lg'] and params['lc'] is hardcoded to 'en' and 'GB'.
params['lg']='en';params['lc']='GB';
The text was updated successfully, but these errors were encountered:
In the
getCode
function that could be found insrc/http/registration.js
is a potential issue with the locale. The code says:If "de" is passed as locale,
params['lc']
will be equal to "GB" andparams['lg']
will be equal to "de". This seems wrong to me. Doesparams['lc']
has to be filled? And what would happen if it stays empty (empty string, null or undefined)?Another question: if the user registers with another locale like "de-DE", does the
exists
- function in the same file still work? Asparams['lg']
andparams['lc']
is hardcoded to 'en' and 'GB'.The text was updated successfully, but these errors were encountered: