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 Oct 24, 2023
1 parent 8da3ffb commit 53fdf20
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 getOrderedAuthMethods(authMethods | async); let last = last">
<div [class.d-none]="contentRef.innerText?.trim().length === 0">
<div #contentRef>
Expand Down

0 comments on commit 53fdf20

Please sign in to comment.