fix: update

parent 56d80f46
...@@ -290,7 +290,7 @@ export class AppService implements OnInit { ...@@ -290,7 +290,7 @@ export class AppService implements OnInit {
err => { err => {
// this._logger.error(err); // this._logger.error(err);
User.logined = false; User.logined = false;
window.location.href = document.location.origin + '/users/login?next=' + document.location.pathname; window.location.href = document.location.origin + '/users/login?next=' + document.location.pathname + document.location.search;
// this._router.navigate(['login']); // this._router.navigate(['login']);
}, },
// () => { // () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment