Most of the logic was already in place. I just added the special case for when the username was blank:
https://github.com/discourse/discourse/commit/01ced67ab39a3055cced66e58c9fcf857f4db920
Most of the logic was already in place. I just added the special case for when the username was blank:
https://github.com/discourse/discourse/commit/01ced67ab39a3055cced66e58c9fcf857f4db920