Alt account entries now deleted with account upon account deletion.

This commit is contained in:
rainbow napkin 2024-12-25 05:52:03 -05:00
parent 980c84afff
commit 60801f0dc2
3 changed files with 29 additions and 10 deletions

View file

@ -35,7 +35,7 @@ module.exports.post = async function(req, res){
//if we found any related nuked bans
if(nukedBans != null){
//Shit our pants!
return errorHandler(res, 'Cannot get alts for non-existant user!');
return errorHandler(res, 'Cannot re-create banned account!', 'unauthorized');
}
await userModel.register(user, req.ip);