From a6ebdfef2a2b64c46845580b68df149d82b3c005 Mon Sep 17 00:00:00 2001
From: Damien <damien.burel@maarch.org>
Date: Mon, 4 Feb 2019 10:31:24 +0100
Subject: [PATCH] FIX #9387 Remove Hash reload

---
 src/frontend/app/profile.component.ts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/frontend/app/profile.component.ts b/src/frontend/app/profile.component.ts
index bd7600e3277..e2cdd053f4c 100755
--- a/src/frontend/app/profile.component.ts
+++ b/src/frontend/app/profile.component.ts
@@ -610,8 +610,7 @@ export class ProfileComponent extends AutoCompletePlugin implements OnInit {
         if (r) {
             this.http.put(this.coreUrl + 'rest/users/' + this.user.id + '/status', { "status": "ABS" })
                 .subscribe(() => {
-                    location.hash = "";
-                    location.search = "?display=true&page=logout&abs_mode";
+                    location.search = "?display=true&page=logout&logout=true";
                 }, (err) => {
                     this.notify.error(err.error.errors);
                 });
-- 
GitLab