mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-18 01:03:22 +00:00
get sync status. clear sync cache
This commit is contained in:
@@ -89,6 +89,14 @@ export class SettingsComponent implements OnInit, OnDestroy {
|
||||
this.sync.groupNameAttribute = 'name';
|
||||
}
|
||||
|
||||
if (this.sync.interval != null) {
|
||||
if (this.sync.interval <= 0) {
|
||||
this.sync.interval = null;
|
||||
} else if (this.sync.interval < 5) {
|
||||
this.sync.interval = 5;
|
||||
}
|
||||
}
|
||||
|
||||
await this.configurationService.saveOrganizationId(this.organizationId);
|
||||
await this.configurationService.saveDirectoryType(this.directory);
|
||||
await this.configurationService.saveDirectory(DirectoryType.Ldap, this.ldap);
|
||||
|
||||
Reference in New Issue
Block a user