Skip to content

Commit

Permalink
front: clear backPath & backParam on logout
Browse files Browse the repository at this point in the history
  • Loading branch information
GresilleSiffle committed Dec 19, 2024
1 parent e415133 commit 1331217
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/features/login/loginSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ export const loginSlice = createSlice({
state.refresh_token = undefined;
state.access_token_expiration_date = undefined;
state.username = undefined;
state.backPath = undefined;
state.backParams = undefined;
},
updateUsername: (
state: LoginState,
Expand Down

0 comments on commit 1331217

Please sign in to comment.