mirror of https://github.com/dexidp/dex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
37 lines
1.1 KiB
{{ template "header.html" }} |
|
|
|
<div class="panel"> |
|
{{ if .EmailSent }} |
|
|
|
<h2 class="heading">Thank you, please check your email!</h2> |
|
<div class="explain"> |
|
{{ .Email }} has been sent an email with instructions to reset your password. |
|
</div> |
|
|
|
{{ else }} |
|
|
|
<h2 class="heading">Reset your password </h2> |
|
<div class="explain">We will send you an email with a link to reset your password.</div> |
|
|
|
<form id="sendResetPasswordForm" method="POST" action="{{ "/send-reset-password" | absPath }}"> |
|
|
|
<div class="form-row"> |
|
<div class="input-desc"> |
|
<label for="email">Email Address</label> |
|
</div> |
|
<input required id="email" class="input-box" type="text" name="email" placeholder="email" value="" autofocus /> |
|
</div> |
|
|
|
{{ if .Error }} |
|
<div class="error-box">{{ .Message }}</div> |
|
{{ end }} |
|
|
|
<button type="submit" class="btn btn-primary">Send Reset Link</button> |
|
<input type="hidden" name="redirect_uri" value="{{ .RedirectURL }}" /> |
|
<input type="hidden" name="client_id" value="{{ .ClientID }}" /> |
|
</form> |
|
|
|
{{ end }} |
|
</div> |
|
|
|
{{ template "footer.html" }}
|
|
|