diff --git a/README.md b/README.md
index c822a6f..25520df 100644
--- a/README.md
+++ b/README.md
@@ -498,8 +498,8 @@ const getSessionKey = (z, bundle) => {
method: 'POST',
url: 'https://example.com/api/accounts/login.json',
body: {
- username: bundle.inputData.username,
- password: bundle.inputData.password
+ username: bundle.authData.username,
+ password: bundle.authData.password
}
});
diff --git a/docs/index.html b/docs/index.html
index 41c01f5..8bec8d6 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1234,8 +1234,8 @@
Session
method: 'POST',
url: 'https://example.com/api/accounts/login.json',
body: {
- username: bundle.inputData.username,
- password: bundle.inputData.password
+ username: bundle.authData.username,
+ password: bundle.authData.password
}
});
diff --git a/snippets/session-auth.js b/snippets/session-auth.js
index d325dfc..d49adfe 100644
--- a/snippets/session-auth.js
+++ b/snippets/session-auth.js
@@ -3,8 +3,8 @@ const getSessionKey = (z, bundle) => {
method: 'POST',
url: 'https://example.com/api/accounts/login.json',
body: {
- username: bundle.inputData.username,
- password: bundle.inputData.password
+ username: bundle.authData.username,
+ password: bundle.authData.password
}
});