It is necessary to add an option to prevent the creation of avatar beyond a certain threshold.
Beyond the 50 Avatars allowed by default, we always create them. It would even be interesting to be able to modify this option in the configuration.
It would therefore be necessary to modify :
public function checkName in AccountController
MAX_AVATARS = 50 -> MAX_AVATARS = window.chocolatey.max_avatars in scripts.js
It is necessary to add an option to prevent the creation of avatar beyond a certain threshold. Beyond the 50 Avatars allowed by default, we always create them. It would even be interesting to be able to modify this option in the configuration.
It would therefore be necessary to modify :
public function checkName in AccountController
MAX_AVATARS = 50 ->
MAX_AVATARS = window.chocolatey.max_avatars
in scripts.js