mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Only the username form control should be emitted (#3333)
This commit is contained in:
committed by
Eugenio Romano
parent
3f9dc53722
commit
0ebd4c62e3
@@ -174,8 +174,7 @@ export class LoginComponent implements OnInit {
|
||||
this.settingsService.csrfDisabled = this.disableCsrf;
|
||||
|
||||
this.disableError();
|
||||
|
||||
const args = new LoginSubmitEvent(this.form);
|
||||
const args = new LoginSubmitEvent({controls : { username : this.form.controls.username} });
|
||||
this.executeSubmit.emit(args);
|
||||
|
||||
if (args.defaultPrevented) {
|
||||
|
Reference in New Issue
Block a user