forked from mirrors/linphone-iphone
fix create account by sha256
This commit is contained in:
parent
1546c34b75
commit
88da8d4e0b
2 changed files with 7 additions and 1 deletions
|
|
@ -174,6 +174,13 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
- (void)loadAssistantConfig:(NSString *)rcFilename {
|
||||
linphone_core_load_config_from_xml(LC,
|
||||
[LinphoneManager bundleFile:rcFilename].UTF8String);
|
||||
if (account_creator) {
|
||||
// Below two settings are applied to account creator when it is built.
|
||||
// Reloading Core config after won't change the account creator configuration,
|
||||
// hence the manual reload
|
||||
linphone_account_creator_set_domain(account_creator, [[LinphoneManager.instance lpConfigStringForKey:@"domain" inSection:@"assistant" withDefault:@""] UTF8String]);
|
||||
linphone_account_creator_set_algorithm(account_creator, [[LinphoneManager.instance lpConfigStringForKey:@"algorithm" inSection:@"assistant" withDefault:@""] UTF8String]);
|
||||
}
|
||||
[self changeView:nextView back:FALSE animation:TRUE];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
<section name="assistant">
|
||||
<entry name="domain" overwrite="true"></entry>
|
||||
<entry name="algorithm" overwrite="true">SHA-256</entry>
|
||||
<entry name="password_max_length" overwrite="true">-1</entry>
|
||||
<entry name="password_min_length" overwrite="true">-1</entry>
|
||||
<entry name="username_length" overwrite="true">-1</entry>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue