Commit a305a096 authored by Eric Rosenbaum's avatar Eric Rosenbaum

send password in body of request

parent ccb31f2f
......@@ -194,11 +194,12 @@ const transferHost = (password, newHostName, newHostId) =>
const token = selectToken(state);
newHostName = newHostName.trim();
api({
uri: `/studios/${studioId}/transfer/${newHostName}?password=${password}`,
uri: `/studios/${studioId}/transfer/${newHostName}`,
method: 'PUT',
authentication: token,
withCredentials: true,
useCsrf: true
useCsrf: true,
json: {password: password}
}, (err, body, res) => {
const error = normalizeError(err, body, res);
if (error) return reject(error);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment