mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
@@ -42,8 +42,8 @@ export class Login {
|
||||
}
|
||||
|
||||
onSubmit(value: any, event) {
|
||||
//event.preventDefault();
|
||||
this.auth.login(value.username, value.password)
|
||||
event.preventDefault();
|
||||
this.auth.login('POST', value.username, value.password)
|
||||
.subscribe(
|
||||
//(token: any) => this.router.navigate(['../Home']),
|
||||
(token: any) => this.router.navigate(['Home']),
|
||||
|
Reference in New Issue
Block a user