mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-08-07 17:48:54 +00:00
#819 add flag on the login component
This commit is contained in:
@@ -51,6 +51,9 @@ export class AlfrescoLoginComponent implements OnInit {
|
||||
@Input()
|
||||
fieldsValidation: any;
|
||||
|
||||
@Input()
|
||||
disableCsrf: boolean;
|
||||
|
||||
@Output()
|
||||
onSuccess = new EventEmitter();
|
||||
|
||||
@@ -107,6 +110,7 @@ export class AlfrescoLoginComponent implements OnInit {
|
||||
return false;
|
||||
}
|
||||
this.settingsService.setProviders(this.providers);
|
||||
this.settingsService.csrfDisabled = this.disableCsrf;
|
||||
|
||||
this.disableError();
|
||||
|
||||
|
Reference in New Issue
Block a user