diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2017-01-11 13:12:54 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2017-01-11 15:18:40 +0100 |
| commit | ea4c23113066ce3b8bd62b373d972884fb781311 (patch) | |
| tree | 84bd43715d63bb1ad1a5afff2f6a3a65a6778009 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | 2c60356332da018087343f25e10760df1c1a37b2 (diff) | |
[FIX] web: limit password size
If the user writes a password larger than 4096 characters at the login
screen, it causes a crash instead of displaying the "Wrong
login/password" message.
The Python library used to hash password (passlib) is by default limited
to 4096 characters. Above this limit, it raises an error (source:
https://pythonhosted.org/passlib/lib/passlib.exc.html).
Allowing a password larger than 4096 is not necessary, we just limit the
field maximum length since such a situation should happen because of an
incorrect copy/paste.
opw-704110
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
