MM-32008 Do not cache request body (#5117)
This commit is contained in:
parent
e5104b8dd9
commit
ceed579a68
1 changed files with 5 additions and 1 deletions
|
|
@ -549,7 +549,11 @@ export default class Client4 {
|
|||
|
||||
const {data} = await this.doFetchWithResponse(
|
||||
`${this.getUsersRoute()}/login`,
|
||||
{method: 'post', body: JSON.stringify(body)},
|
||||
{
|
||||
method: 'post',
|
||||
body: JSON.stringify(body),
|
||||
headers: {'Cache-Control': 'no-store'},
|
||||
},
|
||||
);
|
||||
|
||||
return data;
|
||||
|
|
|
|||
Loading…
Reference in a new issue