mirror of
https://github.com/warp-tech/warpgate.git
synced 2024-09-20 06:46:17 +08:00
fixed login errors not being displayed properly
This commit is contained in:
parent
a38fd2bbb1
commit
4fe4bfe18e
|
@ -193,6 +193,7 @@ async function startSSO (provider: SsoProviderDescription) {
|
|||
<Fa class="ms-2" fw icon={faArrowRight} />
|
||||
</AsyncButton>
|
||||
|
||||
{/if}
|
||||
{#if authState === ApiAuthState.Failed}
|
||||
<Alert color="danger">Incorrect credentials</Alert>
|
||||
{/if}
|
||||
|
@ -202,7 +203,6 @@ async function startSSO (provider: SsoProviderDescription) {
|
|||
{#if error}
|
||||
<Alert color="danger">{error}</Alert>
|
||||
{/if}
|
||||
{/if}
|
||||
</form>
|
||||
|
||||
{#await ssoProvidersPromise then ssoProviders}
|
||||
|
|
Loading…
Reference in a new issue