Hide the whole change-email section when EMAIL_CHANGE_ALLOWED is false (#7759)

This commit is contained in:
Tom authored and GitHub committed 2026-10-03 13:49:53 +02:00
1 parent cb89088bc3
commit f9f011d50c
2 files changed
+8

No files matched your search

@@ -220,6 +220,13 @@ auth-input-password > form > bit-form-field:nth-child(4) {
@extend %vw-hide;
}
{{/unless}}
{{#unless email_change_allowed}}
/* Hide the whole `Change email` section, including its heading, if not allowed */
div:has(> app-change-email) {
@extend %vw-hide;
}
{{/unless}}
/**** End Dynamic Vaultwarden Changes ****/
/**** Include a special user stylesheet for custom changes ****/
{{#if load_user_scss}}