From ce900e074c69da30220b4006992a6e5d1720035b Mon Sep 17 00:00:00 2001 From: Saneyuki Tadokoro Date: Thu, 22 Feb 2024 11:39:25 +0400 Subject: [PATCH] Add formnovalidate attribute to ignore required fields when cancel is clicked on update password page --- theme/keywind/login/login-update-password.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/keywind/login/login-update-password.ftl b/theme/keywind/login/login-update-password.ftl index ed82380..3b7dcdc 100644 --- a/theme/keywind/login/login-update-password.ftl +++ b/theme/keywind/login/login-update-password.ftl @@ -50,7 +50,7 @@ <@button.kw color="primary" type="submit"> ${msg("doSubmit")} - <@button.kw color="secondary" name="cancel-aia" type="submit" value="true"> + <@button.kw color="secondary" name="cancel-aia" type="submit" value="true" formnovalidate="formnovalidate"> ${msg("doCancel")} <#else>