diff --git a/packages/xo-server/src/api/sr.js b/packages/xo-server/src/api/sr.js index 4d0952512..2da281717 100644 --- a/packages/xo-server/src/api/sr.js +++ b/packages/xo-server/src/api/sr.js @@ -487,8 +487,8 @@ export async function probeIscsiIqns ({ // if we give user and password if (chapUser && chapPassword) { - deviceConfig.chapUser = chapUser - deviceConfig.chapPassword = chapPassword + deviceConfig.chapuser = chapUser + deviceConfig.chappassword = chapPassword } // if we give another port than default iSCSI