mage / mage

Game Server Framework
https://mage.github.io/mage/
MIT License
52 stars 18 forks source link

Can ban user #260

Closed Nokitoo closed 6 years ago

Nokitoo commented 6 years ago

Add two methods in auth module:

Add unit tests testing the new behaviour. The only untested path is in CommandCenter.executeCommand.

When a user is banned and tries to access a user command or login, it returns a banned error.