1
0
mirror of https://github.com/dkmstr/openuds-gui.git synced 2024-12-22 17:33:48 +03:00

Fixed submit login

This commit is contained in:
Adolfo Gómez García 2020-08-07 06:38:38 +02:00
parent 1138be5f15
commit cf35cb6749
2 changed files with 7 additions and 2 deletions

View File

@ -47,7 +47,7 @@
</div>
<div class="login-button">
<button mat-stroked-button color="primary" type="submit">
<button mat-stroked-button color="primary" (click)="launch()">
<uds-translate>Login</uds-translate>
</button>
</div>

View File

@ -42,7 +42,7 @@ export class LoginComponent implements OnInit {
}
changeAuth(auth) {
changeAuth(auth: string) {
this.auth.value = auth;
// Ejecuted when custom auth selected
const doCustomAuth = (data: string) => {
@ -62,4 +62,9 @@ export class LoginComponent implements OnInit {
}
}
launch(): boolean {
document.forms['loginform'].submit();
return true;
}
}