mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
ci(benchmark): Fix login not working (#14223)
This commit is contained in:
@@ -19,7 +19,10 @@ export class AuthenticatedN8nApiClient extends N8nApiClient {
|
|||||||
): Promise<AuthenticatedN8nApiClient> {
|
): Promise<AuthenticatedN8nApiClient> {
|
||||||
const response = await apiClient.restApiRequest('/login', {
|
const response = await apiClient.restApiRequest('/login', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
data: loginDetails,
|
data: {
|
||||||
|
emailOrLdapLoginId: loginDetails.email,
|
||||||
|
password: loginDetails.password,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
if (response.data === 'n8n is starting up. Please wait') {
|
if (response.data === 'n8n is starting up. Please wait') {
|
||||||
|
|||||||
Reference in New Issue
Block a user