aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/jquery.ocdialog.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-08-13 15:52:09 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-08-13 15:52:09 +0200
commit42300d19e909978044fe2d3fc34322f04195fd9b (patch)
tree3c12ee0076f48335042efe0a0f80d8e59a25baf9 /core/js/jquery.ocdialog.js
parent7ba57233bff08033da0e58049a4710b370627e0b (diff)
downloadnextcloud-server-42300d19e909978044fe2d3fc34322f04195fd9b.tar.gz
nextcloud-server-42300d19e909978044fe2d3fc34322f04195fd9b.zip
Fix max length requirements for the throttler metadata
If a failed login is logged, we save the username as metadata in the bruteforce throttler. To prevent database error due to very long strings, this truncates the username at 64 bytes in the assumption that no real username is longer than that.long strings, Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/js/jquery.ocdialog.js')
0 files changed, 0 insertions, 0 deletions