mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
fix unit
This commit is contained in:
@@ -98,8 +98,12 @@ export abstract class BaseAuthenticationService implements AuthenticationService
|
||||
* @returns True if supported, false otherwise
|
||||
*/
|
||||
isBPMProvider(): boolean {
|
||||
const provider = <string>this.appConfig.get('providers');
|
||||
const provider = this.appConfig.get('providers');
|
||||
if (provider && (typeof provider === 'string' || provider instanceof String)) {
|
||||
return provider && provider.toUpperCase() === 'BPM';
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user