mirror of
https://github.com/dkmstr/openuds-gui.git
synced 2025-01-10 05:17:35 +03:00
Fixed submit login
This commit is contained in:
parent
1138be5f15
commit
cf35cb6749
@ -47,7 +47,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="login-button">
|
<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>
|
<uds-translate>Login</uds-translate>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -42,7 +42,7 @@ export class LoginComponent implements OnInit {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
changeAuth(auth) {
|
changeAuth(auth: string) {
|
||||||
this.auth.value = auth;
|
this.auth.value = auth;
|
||||||
// Ejecuted when custom auth selected
|
// Ejecuted when custom auth selected
|
||||||
const doCustomAuth = (data: string) => {
|
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