mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix change provider
This commit is contained in:
@@ -80,6 +80,7 @@ export class AlfrescoAuthenticationService {
|
|||||||
* @returns {*|Observable<any>}
|
* @returns {*|Observable<any>}
|
||||||
*/
|
*/
|
||||||
private callApiLogin(username: string, password: string) {
|
private callApiLogin(username: string, password: string) {
|
||||||
|
this.alfrescoApi.config.provider = this.alfrescoSetting.getProviders();
|
||||||
return this.alfrescoApi.login(username, password);
|
return this.alfrescoApi.login(username, password);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user