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.
28 lines
718 B
28 lines
718 B
<html> |
|
<body> |
|
{{ if .Success }} |
|
Yay, you changed your password! |
|
{{ else }} |
|
{{ $lenError := len .Error }} |
|
{{ $hasError := ne $lenError 0 }} |
|
{{ if $hasError }} |
|
<h3> |
|
{{ .Error }} |
|
</h3> |
|
<div> |
|
{{ .Message }} |
|
</div> |
|
{{ end }} |
|
|
|
{{ if not .DontShowForm }} |
|
<form id="resetPasswordForm" method="POST" action="/reset-password"> |
|
<label for="password">Password</label> |
|
<input type="password" name="password" value="" /> |
|
<br/> |
|
<button>Submit</button> |
|
<input type="hidden" name="token" value="{{ .Token }}" /> |
|
</form> |
|
{{ end }} |
|
{{ end }} |
|
<body> |
|
</html>
|
|
|