fix logout on user delete

v1.18.x
pichalite 9 years ago
parent d43a45d0b8
commit a22d7290ec

@ -172,7 +172,7 @@ define('forum/account/edit', ['forum/account/header', 'uploader', 'translator'],
if (err) { if (err) {
app.alertError(err.message); app.alertError(err.message);
} }
app.logout(); window.location.href = config.relative_path + '/';
}); });
} }
}); });

Loading…
Cancel
Save