This commit is contained in:
psychobunny
2016-06-07 11:52:04 -04:00
parent 1bcaf7bca3
commit 4c2ee2e736

View File

@@ -174,8 +174,9 @@ define('forum/account/edit', ['forum/account/header', 'uploader', 'translator'],
} else {
socket.emit('user.deleteAccount', {}, function(err) {
if (err) {
app.alertError(err.message);
return app.alertError(err.message);
}
window.location.href = config.relative_path + '/';
});
}