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:
parent
1138be5f15
commit
cf35cb6749
@ -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>
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user