Skip to content

Commit

Permalink
Use username prompt in login title
Browse files Browse the repository at this point in the history
  • Loading branch information
msquee committed Aug 3, 2020
1 parent 0a34302 commit 955853d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/templates/password.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{{ if "loginTitle" | extra }}
<h5 class="card-title">{{ "loginTitle" | extra }}</h5>
{{ else }}
<h5 class="card-title">Log in with your HPC username and password.</h5>
<h5 class="card-title">Log in with your HPC {{ .UsernamePrompt | lower }} and password.</h5>
{{ end }}

{{ if "loginAlertMessage" | extra }}
Expand All @@ -35,7 +35,7 @@ <h5 class="card-title">Log in with your HPC username and password.</h5>
{{ if .Invalid }}
<input tabindex="0" required aria-required="true" autocomplete="current-password" id="password" name="password" type="password" class="form-control is-invalid" aria-invalid="true" aria-describedby="invalid-feedback" placeholder="{{ "passwordPlaceholder" | extra }}" autofocus>
<div class="invalid-feedback" id="invalid-feedback">
Your {{ .UsernamePrompt }} and/or password do not match.
Your {{ .UsernamePrompt | lower }} and/or password do not match.
</div>
{{ else }}
<input tabindex="0" required aria-required="true" autocomplete="current-password" id="password" name="password" type="password" class="form-control" placeholder="{{ "passwordPlaceholder" | extra }}">
Expand Down

0 comments on commit 955853d

Please sign in to comment.