aboutsummaryrefslogtreecommitdiff
path: root/client/js/controllers/auth_controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/js/controllers/auth_controller.js')
-rw-r--r--client/js/controllers/auth_controller.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/js/controllers/auth_controller.js b/client/js/controllers/auth_controller.js
index 2838e53..bec4b7a 100644
--- a/client/js/controllers/auth_controller.js
+++ b/client/js/controllers/auth_controller.js
@@ -2,6 +2,7 @@
const router = require('../router.js');
const api = require('../api.js');
+const tags = require('../tags.js');
const uri = require('../util/uri.js');
const topNavigation = require('../models/top_navigation.js');
const LoginView = require('../views/login_view.js');
@@ -24,6 +25,8 @@ class LoginController {
.then(() => {
const ctx = router.show(uri.formatClientLink());
ctx.controller.showSuccess('Logged in');
+ // reload tag category color map, this is required when `tag_categories:list` has a permission other than anonymous
+ tags.refreshCategoryColorMap();
}, error => {
this._loginView.showError(error.message);
this._loginView.enableForm();

© 2015 - 2026 Jakob L. Kreuze