From 7ddf4095c353ce9e437c21215a46aee92ce26cd3 Mon Sep 17 00:00:00 2001 From: Ameya Shenoy Date: Thu, 4 Oct 2018 18:04:42 +0530 Subject: [PATCH 1/2] fix(): ignore empty fields in security settings - migration used to break on newly created sites which did not have any fields filled --- frappe/patches/v10_0/enhance_security.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frappe/patches/v10_0/enhance_security.py b/frappe/patches/v10_0/enhance_security.py index 7435f86911..6a9c371b51 100644 --- a/frappe/patches/v10_0/enhance_security.py +++ b/frappe/patches/v10_0/enhance_security.py @@ -29,4 +29,5 @@ def execute(): if cint(doc.allow_consecutive_login_attempts) <= 3: doc.allow_consecutive_login_attempts = 3 + doc.flags.ignore_mandatory = True doc.save() From 501f8ae8beba804810ba7ea9120947529545c51c Mon Sep 17 00:00:00 2001 From: Ameya Shenoy Date: Thu, 4 Oct 2018 14:05:51 +0000 Subject: [PATCH 2/2] bumped to version 11.0.3-beta.2 --- frappe/hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/hooks.py b/frappe/hooks.py index e74ba6e61d..edfe3fd4e2 100644 --- a/frappe/hooks.py +++ b/frappe/hooks.py @@ -12,7 +12,7 @@ source_link = "https://github.com/frappe/frappe" app_license = "MIT" develop_version = '11.x.x-develop' -staging_version = '11.0.3-beta.1' +staging_version = '11.0.3-beta.2' app_email = "info@frappe.io"