This commit is contained in:
eromano
2023-08-04 16:15:12 +02:00
parent 19769fb96d
commit 2e34973778

View File

@@ -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;
}
}
/**