Skip to content

Commit

Permalink
make sure that the current url when logging out does not get set as t…
Browse files Browse the repository at this point in the history
…he redirect_to query param
  • Loading branch information
meirish committed Jul 11, 2019
1 parent 99d3aad commit fad8bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/routes/vault/cluster/logout.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default Route.extend(ModelBoundaryRoute, {
this.get('console').set('isOpen', false);
this.get('console').clearLog(true);
this.clearModelCache();
this.replaceWith('vault.cluster');
this.replaceWith('vault.cluster.auth', { queryParams: { redirect_to: '' } });
this.get('flashMessages').clearMessages();
this.get('permissions').reset();
},
Expand Down

0 comments on commit fad8bb8

Please sign in to comment.