fix(i18n): new localized strings for SQL-based password policies

This commit is contained in:
Le Programmeur
2022-07-26 12:22:53 -04:00
committed by GitHub
parent a667c69f3c
commit 5e6ad77d4c
9 changed files with 196 additions and 3 deletions
+2 -1
View File
@@ -44,6 +44,7 @@
#import "NSString+Crypto.h"
#import "SQLSource.h"
#import "SOGoPasswordPolicy.h"
/**
* The view MUST contain the following columns:
@@ -145,7 +146,7 @@
ASSIGN(_authenticationFilter, [udSource objectForKey: @"authenticationFilter"]);
ASSIGN(_loginFields, [udSource objectForKey: @"LoginFieldNames"]);
ASSIGN(_mailFields, [udSource objectForKey: @"MailFieldNames"]);
ASSIGN(_userPasswordPolicy, [udSource objectForKey: @"userPasswordPolicy"]);
ASSIGN(_userPasswordPolicy, [SOGoPasswordPolicy createPasswordPolicyRegex: [udSource objectForKey: @"userPasswordPolicy"]]);
ASSIGN(_userPasswordAlgorithm, [udSource objectForKey: @"userPasswordAlgorithm"]);
ASSIGN(_keyPath, [udSource objectForKey: @"keyPath"]);
ASSIGN(_imapLoginField, [udSource objectForKey: @"IMAPLoginFieldName"]);