2018-09-13 06:04:25 -06:00
|
|
|
{{if or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn)}}
|
|
|
|
{{template "base/alert" .}}
|
|
|
|
{{end}}
|
|
|
|
<h4 class="ui top attached header center">
|
2022-06-27 14:58:46 -06:00
|
|
|
{{.locale.Tr "settings.change_password"}}
|
2018-09-13 06:04:25 -06:00
|
|
|
</h4>
|
|
|
|
<div class="ui attached segment">
|
|
|
|
<form class="ui form" action="{{.ChangePasscodeLink}}" method="post">
|
|
|
|
{{.CsrfTokenHtml}}
|
|
|
|
<div class="required inline field {{if and (.Err_Password) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn))}}error{{end}}">
|
2022-06-27 14:58:46 -06:00
|
|
|
<label for="password">{{.locale.Tr "password"}}</label>
|
2020-10-09 01:32:30 -06:00
|
|
|
<input id="password" name="password" type="password" value="{{.password}}" autocomplete="new-password" required>
|
2018-09-13 06:04:25 -06:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="required inline field {{if and (.Err_Password) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeRegister))}}error{{end}}">
|
2022-06-27 14:58:46 -06:00
|
|
|
<label for="retype">{{.locale.Tr "re_type"}}</label>
|
2020-10-09 01:32:30 -06:00
|
|
|
<input id="retype" name="retype" type="password" autocomplete="new-password" required>
|
2018-09-13 06:04:25 -06:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="inline field">
|
|
|
|
<label></label>
|
2022-08-31 09:58:54 -06:00
|
|
|
<button class="ui green button">{{.locale.Tr "settings.change_password"}}</button>
|
2018-09-13 06:04:25 -06:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|