mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixing login request in loadtest (#43750)
This commit is contained in:
parent
8b45eb1161
commit
79bf0fc3d1
@ -8,7 +8,7 @@ export const UIEndpoint = class UIEndpoint {
|
||||
|
||||
login(username, pwd) {
|
||||
const payload = { user: username, password: pwd };
|
||||
return this.httpClient.formPost('/login', payload);
|
||||
return this.httpClient.post('/login', JSON.stringify(payload));
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user