Skip to content
Snippets Groups Projects
Verified Commit a6ebdfef authored by Damien's avatar Damien
Browse files

FIX #9387 Remove Hash reload

parent b3c981c7
No related branches found
No related tags found
No related merge requests found
......@@ -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);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment