mirror of
https://projects.blender.org/infrastructure/gitea-custom.git
synced 2024-12-22 07:13:09 -05:00
Auth: Fix link account
Inputs must not be disabled otherwise it gives an error (field cannot be empty)
This commit is contained in:
parent
1c961188a0
commit
bc97b622df
1 changed files with 2 additions and 2 deletions
|
@ -25,11 +25,11 @@
|
|||
|
||||
<div class="disabled required inline field {{if and (.Err_UserName) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeRegister))}}error{{end}}">
|
||||
<label for="user_name">{{.locale.Tr "username"}}</label>
|
||||
<input disabled id="user_name" type="text" name="user_name" value="{{.user_name}}" required style="opacity: var(--opacity-disabled)">
|
||||
<input id="user_name" type="text" name="user_name" value="{{.user_name}}" required style="opacity: var(--opacity-disabled)">
|
||||
</div>
|
||||
<div class="disabled required inline field {{if .Err_Email}}error{{end}}">
|
||||
<label for="email">{{.locale.Tr "email"}}</label>
|
||||
<input disabled id="email" name="email" type="email" value="{{.email}}" required style="opacity: var(--opacity-disabled)">
|
||||
<input id="email" name="email" type="email" value="{{.email}}" required style="opacity: var(--opacity-disabled)">
|
||||
</div>
|
||||
|
||||
<div class="inline field">
|
||||
|
|
Loading…
Reference in a new issue