Skip to content

Commit

Permalink
src/app: add note about CGIAR users to login
Browse files Browse the repository at this point in the history
Currently we have no way to theme or override the log in dropdown,
so I will hard code this in the base application. Will definitely
conflict with upstream code eventually.
  • Loading branch information
alanorth committed Nov 22, 2024
1 parent 15df749 commit 1227376
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/shared/log-in/log-in.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<ds-themed-loading *ngIf="(loading | async) || (isAuthenticated | async)" class="m-5"></ds-themed-loading>
<div *ngIf="!(loading | async) && !(isAuthenticated | async)" class="px-4 py-3 mx-auto login-container">
<div class="alert alert-success" role="alert">
<p>Note: CGIAR users should log in with their Active Directory username and password.</p>
<p>For example, if your email is [email protected], you would use <em>jsmith</em> here.</p>
</div>
<ng-container *ngFor="let authMethod of (authMethods | async); let last = last">
<ds-log-in-container [authMethod]="authMethod" [isStandalonePage]="isStandalonePage"></ds-log-in-container>
<div *ngIf="!last" class="dropdown-divider my-2"></div>
Expand Down

0 comments on commit 1227376

Please sign in to comment.