OpenRA / openrauseraccounts

Connect phpBB forum accounts to OpenRA installations
https://forum.openra.net/ucp.php?i=232
GNU General Public License v2.0
3 stars 3 forks source link

Specify and check maximum badge label length #8

Closed ghost closed 6 years ago

ghost commented 6 years ago

Currently uses a VCHAR:255 but this will need to be adjusted to the length that fits the game UI.

ghost commented 6 years ago

This is now badge_title in table openra_badges.

ghost commented 6 years ago

Length should be checked on 'save' before the insert/update query runs, https://github.com/lawando/OpenRAUserAccounts/blob/master/acp/badges_module.php#L79.

ghost commented 6 years ago

All badge data will be inserted by the board admin which allows to relinquish input validation. This is in the foreseeable future not within the scope of development so closing for now.