diff --git a/src/main/webapp/resources/js/base/base.js b/src/main/webapp/resources/js/base/base.js
index 602e334..fa42feb 100644
--- a/src/main/webapp/resources/js/base/base.js
+++ b/src/main/webapp/resources/js/base/base.js
@@ -244,7 +244,11 @@ var ajax = {
dialog.alert({
title:resp.title,
- content:[resp.description, resp.message].join("
")
+ content:[resp.description, resp.message].join("
"),
+ onClose: () => {
+ if (resp.promptLogin)
+ wctx.home();
+ }
});
debug("stacktrace", stacktrace);