Mercurial > kallithea
diff docs/setup.rst @ 8303:2cb54d157d62
user: make get_by_username_or_email default to treat username case insensitive
The get_by_username_or_email is a flexible function, intended to find users in
multiple ways, suitable for login prompts. The function was sometimes used
with case sensitive user lookup, sometimes without. Instead, be consistent and
just default to be insensitive.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 23 Mar 2020 14:32:06 +0100 |
parents | f8f50d3b6512 |
children | 68d4aae74194 a9e71e61cedf |