From 5614bea271520612cd4f215e719c9f58923639f2 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 13 Feb 2017 10:51:54 +0100 Subject: [PATCH] redirect users to login and register from toolbar --- www/common/toolbar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/common/toolbar.js b/www/common/toolbar.js index ab09497ae..a9a2435ae 100644 --- a/www/common/toolbar.js +++ b/www/common/toolbar.js @@ -465,10 +465,10 @@ define([ window.location.href = '/'; }); $userAdmin.find('a.login').click(function (e) { - window.open('/user'); + window.location.href = '/login/'; }); $userAdmin.find('a.register').click(function (e) { - window.open('/register/'); + window.location.href = '/register/'; }); if (config.userName && config.userName.setName && config.userName.lastName) {