Skip to content
Snippets Groups Projects
Unverified Commit 42300d19 authored by Christoph Wurst's avatar Christoph Wurst
Browse files

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: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
parent 7ba57233
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment