Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/security/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const doLogout = (backUrl) => (dispatch, getState) => {
});
}

export const getUserInfo = (expand = 'groups', fields='', backUrl = null, history = null, errorHandler = null ) =>
export const getUserInfo = (expand = 'groups', fields='', backUrl = null, history = null, errorHandler = null, forcePull = false ) =>
async (dispatch, getState) => {

let AllowedUserGroups = getAllowedUserGroups();
Expand All @@ -57,7 +57,7 @@ export const getUserInfo = (expand = 'groups', fields='', backUrl = null, histor

let accessToken = await getAccessToken();

if (member != null) {
if (member != null && !forcePull) {
if(history != null && backUrl != null)
history.push(backUrl);
return Promise.resolve();
Expand Down
Loading