Skip to content

Commit bc8c303

Browse files
committed
chore: simplify template
1 parent abfeee0 commit bc8c303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/user/settings/profile.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<span class="text red tw-hidden" id="name-change-redirect-prompt"> {{ctx.Locale.Tr "settings.change_username_redirect_prompt"}}</span>
1414
</label>
1515
<input id="username" name="name" value="{{.SignedUser.Name}}" data-name="{{.SignedUser.Name}}" autofocus required {{if or (or (not .SignedUser.IsLocal) ($.UserDisabledFeatures.Contains "change_username")) .IsReverseProxy}}disabled{{end}} maxlength="40">
16-
{{if or (or (not .SignedUser.IsLocal) ($.UserDisabledFeatures.Contains "change_username")) .IsReverseProxy}}
16+
{{if or (not .SignedUser.IsLocal) ($.UserDisabledFeatures.Contains "change_username") .IsReverseProxy}}
1717
<p class="help text blue">{{ctx.Locale.Tr "settings.password_username_disabled"}}</p>
1818
{{end}}
1919
</div>

0 commit comments

Comments
 (0)