mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 03:48:23 +00:00
ec2930712d
Via the API it is possible to create a user with an integer username. So 123 instead of "123". This causes the following 500 error: ``` NoMethodError (undefined method `unicode_normalize' for 1:Integer) app/models/user.rb:276:in `normalize_username' ``` See: https://meta.discourse.org/t/222281