aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/utils/handleRequiredAuthentication.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/app/utils/handleRequiredAuthentication.ts')
-rw-r--r--server/sonar-web/src/main/js/app/utils/handleRequiredAuthentication.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/app/utils/handleRequiredAuthentication.ts b/server/sonar-web/src/main/js/app/utils/handleRequiredAuthentication.ts
index aaf5732e0ba..c2fa838ddd3 100644
--- a/server/sonar-web/src/main/js/app/utils/handleRequiredAuthentication.ts
+++ b/server/sonar-web/src/main/js/app/utils/handleRequiredAuthentication.ts
@@ -22,8 +22,5 @@ import getHistory from './getHistory';
export default function handleRequiredAuthentication() {
const history = getHistory();
const returnTo = window.location.pathname + window.location.search + window.location.hash;
- history.replace({
- pathname: '/sessions/new',
- query: { return_to: returnTo } // eslint-disable-line camelcase
- });
+ history.replace({ pathname: '/sessions/new', query: { return_to: returnTo } });
}