chocolatey icon indicating copy to clipboard operation
chocolatey copied to clipboard

Create Avatar - Restriction

Open Ducksane opened this issue 8 years ago • 1 comments

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

Ducksane avatar Apr 19 '17 17:04 Ducksane

Okay. I will think about it :)

ovflowd avatar Apr 19 '17 18:04 ovflowd