Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix external login error message

Chocobozzze763ad30366c
diff --git a/client/src/app/+login/login.component.html b/client/src/app/+login/login.component.html
index 32b57bde8d..51a65415cb 100644
--- a/client/src/app/+login/login.component.html
+++ b/client/src/app/+login/login.component.html
@@ -1,6 +1,10 @@
<div class="margin-content">
<h1 class="title-page" i18n>Login on {{ instanceName }}</h1>
+ <my-alert type="danger" i18n *ngIf="externalAuthError">
+ Sorry but there was an issue with the external login process. Please <a class="link-primary" routerLink="/about">contact an administrator</a>.
+ </my-alert>
+
<ng-container *ngIf="!externalAuthError && !isAuthenticatedWithExternalAuth">
<my-alert type="primary">
@@ -25,10 +29,6 @@
}
</my-alert>
- <my-alert type="danger" i18n *ngIf="externalAuthError">
- Sorry but there was an issue with the external login process. Please <a class="link-primary" routerLink="/about">contact an administrator</a>.
- </my-alert>
-
<my-alert *ngIf="error" type="danger">
{{ error }}