redirect users to login and register from toolbar

This commit is contained in:
ansuz
2017-02-13 10:51:54 +01:00
parent f723585758
commit 5614bea271

View File

@@ -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) {