diff options
Diffstat (limited to 'server/sonar-web/src/main/js/api/auth.ts')
-rw-r--r-- | server/sonar-web/src/main/js/api/auth.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/api/auth.ts b/server/sonar-web/src/main/js/api/auth.ts index 0c95f699127..ebe74afa014 100644 --- a/server/sonar-web/src/main/js/api/auth.ts +++ b/server/sonar-web/src/main/js/api/auth.ts @@ -28,7 +28,10 @@ export function login(login: string, password: string): Promise<Response> { } export function logout(): Promise<Response> { - return request('/api/authentication/logout').setMethod('POST').submit().then(basicCheckStatus); + return request('/api/authentication/logout') + .setMethod('POST') + .submit() + .then(basicCheckStatus); } function basicCheckStatus(response: Response): Promise<Response> { |