mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-23 10:54:17 +00:00
feat(preferences): password constraints for SQL sources
Initial implementation of some password policy support for SQL sources.
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
#import <SOGo/SOGoUser.h>
|
||||
#import <SOGo/SOGoUserSettings.h>
|
||||
#import <SOGo/SOGoSieveManager.h>
|
||||
#import <SOGo/SOGoSource.h>
|
||||
#import <SOGo/SOGoSystemDefaults.h>
|
||||
#import <SOGo/SOGoUserFolder.h>
|
||||
#import <SOGo/SOGoParentFolder.h>
|
||||
@@ -250,6 +251,17 @@ static NSArray *reminderValues = nil;
|
||||
return shortDateFormatText;
|
||||
}
|
||||
|
||||
//
|
||||
// Used by wox template
|
||||
//
|
||||
- (NSArray *) passwordPolicy
|
||||
{
|
||||
NSObject <SOGoSource> *userSource;
|
||||
|
||||
userSource = [user authenticationSource];
|
||||
return [userSource userPasswordPolicy];
|
||||
}
|
||||
|
||||
//
|
||||
// Used internally
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user