fix logout on user delete

This commit is contained in:
pichalite
2016-02-22 03:42:12 +00:00
parent d43a45d0b8
commit a22d7290ec

View File

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