Skip to content

Commit 4aebd72

Browse files
author
Vikas Agarwal
committed
Maintaining the return URL
1 parent 0bea729 commit 4aebd72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/projects/create/containers/CreateContainer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class CreateContainer extends React.Component {
8585
this.createContainerView = this.createContainerView.bind(this)
8686

8787
if (!props.userRoles || props.userRoles.length <= 0) {
88-
window.location = ACCOUNTS_APP_LOGIN_URL
88+
window.location = `${ACCOUNTS_APP_LOGIN_URL}?retUrl=${window.URL}`
8989
}
9090
}
9191

0 commit comments

Comments
 (0)