forked from forgejo/forgejo
Fix new user form for non-local users (#8826)
This commit is contained in:
parent
3fb9e3afe3
commit
86a44f6b48
2 changed files with 12 additions and 10 deletions
|
@ -42,7 +42,7 @@
|
|||
<input id="password" name="password" type="password" value="{{.password}}" {{if eq .login_type "0-0"}}required{{end}}>
|
||||
</div>
|
||||
|
||||
<div class="inline field">
|
||||
<div class="inline field local{{if ne .login_type "0-0"}} hide{{end}}">
|
||||
<div class="ui checkbox">
|
||||
<label><strong>{{.i18n.Tr "auth.allow_password_change" }}</strong></label>
|
||||
<input name="must_change_password" type="checkbox" checked>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue