mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fix ha1 params order
This commit is contained in:
parent
d23a3c18f5
commit
5529671088
1 changed files with 2 additions and 2 deletions
|
|
@ -577,7 +577,7 @@ static LinphoneXmlRpcRequest * _create_account_with_phone(LinphoneAccountCreator
|
|||
request = linphone_xml_rpc_request_new_with_args("create_phone_account", LinphoneXmlRpcArgString,
|
||||
LinphoneXmlRpcArgString, creator->phone_number,
|
||||
LinphoneXmlRpcArgString, creator->username ? creator->username : creator->phone_number,
|
||||
LinphoneXmlRpcArgString, creator->password ? ha1_for_passwd(creator->username ? creator->username : creator->phone_number, creator->password, creator->domain) : "",
|
||||
LinphoneXmlRpcArgString, creator->password ? ha1_for_passwd(creator->username ? creator->username : creator->phone_number, creator->domain, creator->password) : "",
|
||||
LinphoneXmlRpcArgString, linphone_core_get_user_agent(creator->core),
|
||||
LinphoneXmlRpcArgString, creator->domain,
|
||||
LinphoneXmlRpcArgString, creator->language,
|
||||
|
|
@ -593,7 +593,7 @@ static LinphoneXmlRpcRequest * _create_account_with_email(LinphoneAccountCreator
|
|||
request = linphone_xml_rpc_request_new_with_args("create_email_account", LinphoneXmlRpcArgString,
|
||||
LinphoneXmlRpcArgString, creator->username,
|
||||
LinphoneXmlRpcArgString, creator->email,
|
||||
LinphoneXmlRpcArgString, ha1_for_passwd(creator->username ? creator->username : creator->phone_number, creator->password, creator->domain),
|
||||
LinphoneXmlRpcArgString, ha1_for_passwd(creator->username ? creator->username : creator->phone_number, creator->domain, creator->password),
|
||||
LinphoneXmlRpcArgString, linphone_core_get_user_agent(creator->core),
|
||||
LinphoneXmlRpcArgString, creator->domain,
|
||||
LinphoneXmlRpcArgNone);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue