-
Christoph Wurst authored
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>
Christoph Wurst authoredIf 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>