form promise added for sso prevalidation (#643)
This commit is contained in:
parent
5be121ec71
commit
11cf89493d
|
@ -1,4 +1,4 @@
|
||||||
<form (ngSubmit)="submit()" class="container" ngNativeValidate>
|
<form #form (ngSubmit)="submit()" class="container" [appApiAction]="initiateSsoFormPromise" ngNativeValidate>
|
||||||
<div class="row justify-content-md-center mt-5">
|
<div class="row justify-content-md-center mt-5">
|
||||||
<div class="col-5">
|
<div class="col-5">
|
||||||
<img src="../../images/logo-dark@2x.png" class="logo mb-2" alt="Bitwarden">
|
<img src="../../images/logo-dark@2x.png" class="logo mb-2" alt="Bitwarden">
|
||||||
|
@ -16,8 +16,11 @@
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="d-flex">
|
<div class="d-flex">
|
||||||
<button type="submit" class="btn btn-primary btn-block">
|
<button type="submit" class="btn btn-primary btn-block btn-submit" [disabled]="form.loading">
|
||||||
<i class="fa fa-sign-in" aria-hidden="true"></i> {{'logIn' | i18n}}
|
<span>
|
||||||
|
<i class="fa fa-sign-in" aria-hidden="true"></i> {{'logIn' | i18n}}
|
||||||
|
</span>
|
||||||
|
<i class="fa fa-spinner fa-spin" title="{{'loading' | i18n}}" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
<a routerLink="/" class="btn btn-outline-secondary btn-block ml-2 mt-0">
|
<a routerLink="/" class="btn btn-outline-secondary btn-block ml-2 mt-0">
|
||||||
{{'cancel' | i18n}}
|
{{'cancel' | i18n}}
|
||||||
|
|
Loading…
Reference in New Issue