Trim search keyword in User Search / Admin Panel

This is a tiny improvement proposal.

If you search a user by an email with no trailing spaces, it works just fine:

However, it finds nothing if a space is added:

A simple improvement would be to trim user input before carrying the search.

Trailing spaces / tabs / etc may easily be inserted when copypasting an email address from somewhere.


Just pushed a fix :banana:


This topic was automatically closed after 12 hours. New replies are no longer allowed.