From a22d7290ecabdfcfa1b6714190a443565b015c42 Mon Sep 17 00:00:00 2001 From: pichalite Date: Mon, 22 Feb 2016 03:42:12 +0000 Subject: [PATCH] fix logout on user delete --- public/src/client/account/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/client/account/edit.js b/public/src/client/account/edit.js index e239c142f2..cd97196ad0 100644 --- a/public/src/client/account/edit.js +++ b/public/src/client/account/edit.js @@ -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 + '/'; }); } });