[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:
Maurizio Vitale
2018-05-23 00:50:24 +01:00
committed by Eugenio Romano
parent c8f04193c7
commit df0e530f27
2 changed files with 6 additions and 0 deletions

View File

@@ -52,6 +52,7 @@
[disableCsrf]="disableCsrf"
[showLoginActions]="showFooter"
[showRememberMe]="showFooter"
(executeSubmit)="checkForm($event)"
copyrightText="{{ 'application.copyright' | adfAppConfig }}"
(success)="onLogin($event)"
(error)="onError($event)">

View File

@@ -118,4 +118,9 @@ export class LoginComponent implements OnInit {
this.providers = '';
return this.providers;
}
checkForm(event: any) {
const values = event.values;
this.logService.log(values);
}
}