mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2985] Demo shell - Provide an easy way to test the security issue (#3354)
* Provide an easy way to test the security issue * use logService
This commit is contained in:
committed by
Eugenio Romano
parent
c8f04193c7
commit
df0e530f27
@@ -52,6 +52,7 @@
|
|||||||
[disableCsrf]="disableCsrf"
|
[disableCsrf]="disableCsrf"
|
||||||
[showLoginActions]="showFooter"
|
[showLoginActions]="showFooter"
|
||||||
[showRememberMe]="showFooter"
|
[showRememberMe]="showFooter"
|
||||||
|
(executeSubmit)="checkForm($event)"
|
||||||
copyrightText="{{ 'application.copyright' | adfAppConfig }}"
|
copyrightText="{{ 'application.copyright' | adfAppConfig }}"
|
||||||
(success)="onLogin($event)"
|
(success)="onLogin($event)"
|
||||||
(error)="onError($event)">
|
(error)="onError($event)">
|
||||||
|
@@ -118,4 +118,9 @@ export class LoginComponent implements OnInit {
|
|||||||
this.providers = '';
|
this.providers = '';
|
||||||
return this.providers;
|
return this.providers;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
checkForm(event: any) {
|
||||||
|
const values = event.values;
|
||||||
|
this.logService.log(values);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user